mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
DX: fix phpstan errors
This commit is contained in:
@@ -51,6 +51,9 @@ use function json_decode;
|
||||
use const JSON_PRETTY_PRINT;
|
||||
use const LC_TIME;
|
||||
|
||||
/**
|
||||
* @deprecated, to remove in a next version
|
||||
*/
|
||||
final class ImportPeopleFromCSVCommand extends Command
|
||||
{
|
||||
protected $cacheAnswersMapping = [];
|
||||
@@ -1021,6 +1024,7 @@ final class ImportPeopleFromCSVCommand extends Command
|
||||
|
||||
foreach ($possibleFormats as $format) {
|
||||
$this->logger->debug("Trying format {$format}", [__METHOD__]);
|
||||
/** @phpstan-ignore-next-line */
|
||||
$dateR = strptime($value, $format);
|
||||
|
||||
if (is_array($dateR) && '' === $dateR['unparsed']) {
|
||||
|
Reference in New Issue
Block a user