Skip to content

Commit

Permalink
Fixed an issue where the Settings model wasn’t referencing the correc…
Browse files Browse the repository at this point in the history
…t array validator class.

Fixes #26. See also #14.
  • Loading branch information
joshangell committed Sep 13, 2018
1 parent ba82a2b commit 19036ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Settings extends Model
public function rules()
{
return [
['nestedSettings', 'array']
['nestedSettings', ArrayValidator::class]
];
}

Expand Down

0 comments on commit 19036ea

Please sign in to comment.