mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 06:10:36 -04:00
Switch from DateTime to DateTimeImmutable across codebase
This commit is contained in:
parent
92c647f2b1
commit
e55fecaaa2
35 changed files with 102 additions and 99 deletions
|
@ -22,7 +22,7 @@ class ValidationException extends AppException{
|
|||
public function Add(\Exception $exception, bool $isFatal = false): void{
|
||||
if(is_a($exception, static::class)){
|
||||
// Type hint for linter
|
||||
/** @var ValidationException $exception */
|
||||
/** @var ValidationException $childException */
|
||||
foreach($exception->Exceptions as $childException){
|
||||
$this->Add($childException);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue