We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 860b2d8 commit 7266c66Copy full SHA for 7266c66
app/Models/Model.php
@@ -117,7 +117,7 @@ public static function getRulesForField(string $field): array
117
* Returns the rules associated with the model, specifically for updating the given model
118
* rather than just creating it.
119
*/
120
- public static function getRulesForUpdate(IlluminateModel|int|string $model, string $column = 'id'): array
+ public static function getRulesForUpdate($model, string $column = 'id'): array
121
{
122
if ($model instanceof Model) {
123
[$id, $column] = [$model->getKey(), $model->getKeyName()];
0 commit comments