Fix call.

This commit is contained in:
James Cole 2022-03-06 15:47:11 +01:00
parent 9c8bcd4f4c
commit 2f55499f7d
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -94,7 +94,7 @@ abstract class Controller extends BaseController
$obj = Carbon::parse($date);
} catch (InvalidDateException | InvalidFormatException $e) {
// don't care
Log::warn(sprintf('Ignored invalid date "%s" in API controller parameter check: %s', (string) $date, $e->getMessage()));
Log::warning(sprintf('Ignored invalid date "%s" in API controller parameter check: %s', (string) $date, $e->getMessage()));
}
}
$bag->set($field, $obj);