DateTime instead \DateTime

This commit is contained in:
Jeroen De Meerleer 2019-09-28 10:28:33 +02:00
parent 9b12fd301b
commit d9ecb62d0d
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -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);