It seems like $date can also be of type DateTime; however, parameter $date of Spryker\Service\UtilDate...Interface::formatDate() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like $date can also be of type DateTime; however, parameter $date of Spryker\Service\UtilDate...rface::formatDateTime() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
It seems like $date can also be of type DateTime; however, parameter $date of Spryker\Service\UtilDate...Interface::formatTime() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation