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 1303d9c commit e8cabacCopy full SHA for e8cabac
src/Extract.php
@@ -78,7 +78,7 @@ public function extract(string $format, ?Collection $models = null): array
78
79
public function validateCustomModel(Collection $models): Collection
80
{
81
- if(!is_subclass_of($models->first(), Model::class)) {
+ if (! is_subclass_of($models->first(), Model::class)) {
82
throw new Exception('The provided model, parent must be an instance of Illuminate\Database\Eloquent\Model');
83
}
84
0 commit comments