mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 06:10:36 -04:00
PHPStan corrections
This commit is contained in:
parent
392f826ffe
commit
eaa8d4f13b
1 changed files with 0 additions and 1 deletions
|
@ -18,7 +18,6 @@ class ValidationException extends AppException{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Add(\Exception $exception, bool $isFatal = false): void{
|
public function Add(\Exception $exception, bool $isFatal = false): void{
|
||||||
/** @var ValidationException $exception */
|
|
||||||
if(is_a($exception, ValidationException::class)){
|
if(is_a($exception, ValidationException::class)){
|
||||||
foreach($exception->Exceptions as $childException){
|
foreach($exception->Exceptions as $childException){
|
||||||
$this->Add($childException);
|
$this->Add($childException);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue