mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-22 04:11:22 +01:00
DateTime instead \DateTime
This commit is contained in:
parent
9b12fd301b
commit
d9ecb62d0d
@ -613,7 +613,7 @@ class Swar4 implements ReaderInterface
|
||||
* @param string $string
|
||||
* @return DateTime
|
||||
*/
|
||||
public function convertStringToDate(string $string): \DateTime
|
||||
public function convertStringToDate(string $string): DateTime
|
||||
{
|
||||
if (strlen($string) == 10) {
|
||||
return DateTime::createFromFormat('d/m/Y', $string);
|
||||
|
Loading…
Reference in New Issue
Block a user