More type hinting

This commit is contained in:
Alex Cabal 2024-01-08 17:00:20 -06:00
parent 6f0d1f7aa8
commit cb79832092
3 changed files with 7 additions and 4 deletions

View file

@ -1,10 +1,13 @@
<?
namespace Exceptions;
/**
* @property array<\Exception> $Exceptions
*/
class ValidationException extends AppException{
public $Exceptions = [];
public $HasExceptions = false;
public $IsFatal = false;
public bool $HasExceptions = false;
public bool $IsFatal = false;
public function __toString(): string{
$output = '';