tests: fix assertion (#1139)

* tests: fix assertion

* composer fix-style

Co-authored-by: laravel-ide-helper <[email protected]>
This commit is contained in:
Markus Podar
2021-01-11 09:14:12 +01:00
committed by GitHub
co-authored by laravel-ide-helper
parent fd30d1190d
commit a83df51ad4
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1057,7 +1057,7 @@ class ModelsCommand extends Command
}
$traits = class_uses(get_class($model), true);
if (! in_array('Illuminate\\Database\\Eloquent\\Factories\\HasFactory', $traits)) {
if (!in_array('Illuminate\\Database\\Eloquent\\Factories\\HasFactory', $traits)) {
return;
}
@@ -1065,7 +1065,7 @@ class ModelsCommand extends Command
$factory = get_class($modelName::factory());
$factory = '\\' . trim($factory, '\\');
if (! class_exists($factory)) {
if (!class_exists($factory)) {
return;
}