PHPStan corrections

This commit is contained in:
Alex Cabal 2025-06-19 11:57:23 -05:00
parent 392f826ffe
commit eaa8d4f13b

View file

@ -18,7 +18,6 @@ class ValidationException extends AppException{
}
public function Add(\Exception $exception, bool $isFatal = false): void{
/** @var ValidationException $exception */
if(is_a($exception, ValidationException::class)){
foreach($exception->Exceptions as $childException){
$this->Add($childException);