app: update models
This commit is contained in:
parent
28bc86e23b
commit
9d64c6751b
25 changed files with 55 additions and 54 deletions
|
@ -38,10 +38,7 @@ class Nest extends Model
|
|||
'description',
|
||||
];
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $validationRules = [
|
||||
public static array $validationRules = [
|
||||
'author' => 'sometimes|string|email',
|
||||
'name' => 'required|string|max:191',
|
||||
'description' => 'nullable|string',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue