Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
AnourValar committed Jul 29, 2021
1 parent 8c1e16b commit 64fe1b4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ModelTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ trait ModelTrait
*/
protected static $attributeNames;

/**
* Get the validation rules
*
* @return array
*/
public function saveRules()
{
return [];
}

/**
* "Save" after-validation
*
Expand Down

0 comments on commit 64fe1b4

Please sign in to comment.