Fix call.

This commit is contained in:
James Cole
2022-03-06 15:47:11 +01:00
parent 9c8bcd4f4c
commit 2f55499f7d

View File

@@ -94,7 +94,7 @@ abstract class Controller extends BaseController
$obj = Carbon::parse($date); $obj = Carbon::parse($date);
} catch (InvalidDateException | InvalidFormatException $e) { } catch (InvalidDateException | InvalidFormatException $e) {
// don't care // 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); $bag->set($field, $obj);