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

@ -2,7 +2,7 @@
namespace Exceptions;
class StringTooLongException extends AppException{
public $Source;
public string $Source;
public function __construct(string $source = ''){
$this->Source = $source;