mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
Remove magic where
This commit is contained in:
@@ -290,11 +290,6 @@ class ModelsCommand extends Command
|
|||||||
|
|
||||||
$comment = $column->getComment();
|
$comment = $column->getComment();
|
||||||
$this->setProperty($name, $type, true, true, $comment);
|
$this->setProperty($name, $type, true, true, $comment);
|
||||||
$this->setMethod(
|
|
||||||
Str::camel("where_" . $name),
|
|
||||||
'\Illuminate\Database\Query\Builder|\\' . get_class($model),
|
|
||||||
array('$value')
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user