run composer fix-style

This commit is contained in:
Rob Porter
2021-04-02 15:30:15 -04:00
parent 057efb0ee7
commit 39a96c3b95
3 changed files with 6 additions and 5 deletions
+4 -2
View File
@@ -761,11 +761,13 @@ class ModelsCommand extends Command
}
}
public function unsetMethod($name) {
public function unsetMethod($name)
{
unset($this->methods[strtolower($name)]);
}
public function getMethodType(Model $model, string $classType) {
public function getMethodType(Model $model, string $classType)
{
$modelName = $this->getClassNameInDestinationFile($model, get_class($model));
$builder = $this->getClassNameInDestinationFile($model, $classType);
return $builder . '|' . $modelName;