app: update models
This commit is contained in:
parent
28bc86e23b
commit
9d64c6751b
25 changed files with 55 additions and 54 deletions
|
@ -20,7 +20,7 @@ abstract class Model extends IlluminateModel
|
|||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $immutableDates = false;
|
||||
protected bool $immutableDates = false;
|
||||
|
||||
/**
|
||||
* Determines if the model should undergo data validation before it is saved
|
||||
|
@ -45,7 +45,7 @@ abstract class Model extends IlluminateModel
|
|||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $validationRules = [];
|
||||
public static array $validationRules = [];
|
||||
|
||||
/**
|
||||
* Listen for the model saving event and fire off the validation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue