@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | $controller = new InputArgument( |
| 40 | 40 | 'controller', |
| 41 | - InputArgument::OPTIONAL|InputArgument::IS_ARRAY, |
|
| 41 | + InputArgument::OPTIONAL | InputArgument::IS_ARRAY, |
|
| 42 | 42 | 'Controller name(s)' |
| 43 | 43 | ); |
| 44 | 44 | |
@@ -52,15 +52,15 @@ discard block |
||
| 52 | 52 | |
| 53 | 53 | if (!$this->getApplication()->isModelExists($model)) { |
| 54 | 54 | throw new InputException( |
| 55 | - "Model $model is not exist, ". |
|
| 55 | + "Model $model is not exist, " . |
|
| 56 | 56 | "run command <question>bluzman generate:model $model</question> before" |
| 57 | 57 | ); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - $crudPath = $this->getApplication()->getModelPath($model) .DS. 'Crud.php'; |
|
| 60 | + $crudPath = $this->getApplication()->getModelPath($model) . DS . 'Crud.php'; |
|
| 61 | 61 | if (!is_file($crudPath)) { |
| 62 | 62 | throw new InputException( |
| 63 | - "CRUD for $model is not exist, ". |
|
| 63 | + "CRUD for $model is not exist, " . |
|
| 64 | 64 | "run command <question>bluzman generate:crud $model</question> before" |
| 65 | 65 | ); |
| 66 | 66 | } |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | if (!$this->getApplication()->isModuleExists($module)) { |
| 72 | 72 | throw new InputException( |
| 73 | - "Module $module is not exist, ". |
|
| 73 | + "Module $module is not exist, " . |
|
| 74 | 74 | "run command <question>bluzman generate:module $module</question> before" |
| 75 | 75 | ); |
| 76 | 76 | } |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | |
| 67 | 67 | if (!$this->getApplication()->isModelExists($model)) { |
| 68 | 68 | throw new InputException( |
| 69 | - "Model $model is not exist, ". |
|
| 69 | + "Model $model is not exist, " . |
|
| 70 | 70 | "run command <question>bluzman generate:model $model</question> before" |
| 71 | 71 | ); |
| 72 | 72 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | if (!$this->getApplication()->isModuleExists($module)) { |
| 78 | 78 | throw new InputException( |
| 79 | - "Module $module is not exist, ". |
|
| 79 | + "Module $module is not exist, " . |
|
| 80 | 80 | "run command <question>bluzman generate:module $module</question> before" |
| 81 | 81 | ); |
| 82 | 82 | } |