@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function getRootNamespace() |
35 | 35 | { |
36 | - return parent::getRootNamespace() . |
|
36 | + return parent::getRootNamespace(). |
|
37 | 37 | parent::getConfigGeneratorClassPath($this->getPathConfigNode()); |
38 | 38 | } |
39 | 39 | |
@@ -54,11 +54,11 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public function getPath() |
56 | 56 | { |
57 | - return $this->getBasePath() . |
|
58 | - '/' . |
|
59 | - parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) . |
|
60 | - '/' . |
|
61 | - $this->getName() . |
|
57 | + return $this->getBasePath(). |
|
58 | + '/'. |
|
59 | + parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true). |
|
60 | + '/'. |
|
61 | + $this->getName(). |
|
62 | 62 | 'Repository.php'; |
63 | 63 | } |
64 | 64 |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function getRootNamespace() |
35 | 35 | { |
36 | - return parent::getRootNamespace() . |
|
36 | + return parent::getRootNamespace(). |
|
37 | 37 | parent::getConfigGeneratorClassPath($this->getPathConfigNode()); |
38 | 38 | } |
39 | 39 | |
@@ -54,11 +54,11 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public function getPath() |
56 | 56 | { |
57 | - return $this->getBasePath() . |
|
58 | - '/' . |
|
59 | - parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) . |
|
60 | - '/' . |
|
61 | - $this->getName() . |
|
57 | + return $this->getBasePath(). |
|
58 | + '/'. |
|
59 | + parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true). |
|
60 | + '/'. |
|
61 | + $this->getName(). |
|
62 | 62 | 'RepositoryEloquent.php'; |
63 | 63 | } |
64 | 64 | |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | case 'binary': |
158 | 158 | case 'ipAddress': |
159 | 159 | case 'macAddress': |
160 | - return "\t\t'{$field['name']}' => 'like'," . PHP_EOL; |
|
160 | + return "\t\t'{$field['name']}' => 'like',".PHP_EOL; |
|
161 | 161 | case 'integer': |
162 | 162 | case 'tinyInteger': |
163 | 163 | case 'smallInteger': |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | case 'decimal': |
181 | 181 | case 'double': |
182 | 182 | case 'boolean': |
183 | - return "\t\t'{$field['name']}'," . PHP_EOL; |
|
183 | + return "\t\t'{$field['name']}',".PHP_EOL; |
|
184 | 184 | } |
185 | 185 | } |
186 | 186 |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public function getRootNamespace() |
33 | 33 | { |
34 | - return parent::getRootNamespace() . |
|
34 | + return parent::getRootNamespace(). |
|
35 | 35 | parent::getConfigGeneratorClassPath($this->getPathConfigNode()); |
36 | 36 | } |
37 | 37 | |
@@ -52,11 +52,11 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function getPath() |
54 | 54 | { |
55 | - return $this->getBasePath() . |
|
56 | - '/' . |
|
57 | - parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) . |
|
58 | - '/' . |
|
59 | - $this->getName() . |
|
55 | + return $this->getBasePath(). |
|
56 | + '/'. |
|
57 | + parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true). |
|
58 | + '/'. |
|
59 | + $this->getName(). |
|
60 | 60 | 'Criteria.php'; |
61 | 61 | } |
62 | 62 |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public function getRootNamespace() |
33 | 33 | { |
34 | - return parent::getRootNamespace() . |
|
34 | + return parent::getRootNamespace(). |
|
35 | 35 | parent::getConfigGeneratorClassPath($this->getPathConfigNode()); |
36 | 36 | } |
37 | 37 | |
@@ -52,11 +52,11 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function getPath() |
54 | 54 | { |
55 | - return $this->getBasePath() . |
|
56 | - '/' . |
|
57 | - parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) . |
|
58 | - '/' . |
|
59 | - $this->getName() . |
|
55 | + return $this->getBasePath(). |
|
56 | + '/'. |
|
57 | + parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true). |
|
58 | + '/'. |
|
59 | + $this->getName(). |
|
60 | 60 | 'Transformer.php'; |
61 | 61 | } |
62 | 62 |
@@ -53,12 +53,12 @@ |
||
53 | 53 | */ |
54 | 54 | public function getPath() |
55 | 55 | { |
56 | - return $this->getBasePath() . |
|
57 | - '/Providers/' . |
|
56 | + return $this->getBasePath(). |
|
57 | + '/Providers/'. |
|
58 | 58 | parent::getConfigGeneratorClassPath( |
59 | 59 | $this->getPathConfigNode(), |
60 | 60 | true |
61 | - ) . |
|
61 | + ). |
|
62 | 62 | '.php'; |
63 | 63 | } |
64 | 64 |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | $this->call( |
56 | 56 | 'yl:request', |
57 | 57 | [ |
58 | - 'name' => $this->argument('name') . 'Create', |
|
58 | + 'name' => $this->argument('name').'Create', |
|
59 | 59 | '--type' => 'web', |
60 | 60 | '--fields' => $this->option('fields'), |
61 | 61 | '--force' => $this->option('force'), |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $this->call( |
66 | 66 | 'yl:request', |
67 | 67 | [ |
68 | - 'name' => $this->argument('name') . 'Update', |
|
68 | + 'name' => $this->argument('name').'Update', |
|
69 | 69 | '--type' => 'web', |
70 | 70 | '--fields' => $this->option('fields'), |
71 | 71 | '--force' => $this->option('force'), |
@@ -66,7 +66,7 @@ |
||
66 | 66 | $this->generators->push( |
67 | 67 | new MigrationGenerator( |
68 | 68 | [ |
69 | - 'name' => 'create_' . snake_case(str_plural($this->argument('name'))) . '_table', |
|
69 | + 'name' => 'create_'.snake_case(str_plural($this->argument('name'))).'_table', |
|
70 | 70 | 'fields' => $this->option('fillable'), |
71 | 71 | 'force' => $this->option('force'), |
72 | 72 | ] |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | $this->call( |
56 | 56 | 'yl:request', |
57 | 57 | [ |
58 | - 'name' => 'Api/' . $this->argument('name') . 'Create', |
|
58 | + 'name' => 'Api/'.$this->argument('name').'Create', |
|
59 | 59 | '--type' => 'api', |
60 | 60 | '--fields' => $this->option('fields'), |
61 | 61 | '--force' => $this->option('force'), |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $this->call( |
66 | 66 | 'yl:request', |
67 | 67 | [ |
68 | - 'name' => 'Api/' . $this->argument('name') . 'Update', |
|
68 | + 'name' => 'Api/'.$this->argument('name').'Update', |
|
69 | 69 | '--type' => 'api', |
70 | 70 | '--fields' => $this->option('fields'), |
71 | 71 | '--force' => $this->option('force'), |
@@ -65,11 +65,11 @@ |
||
65 | 65 | */ |
66 | 66 | public function getPath() |
67 | 67 | { |
68 | - return $this->getBasePath() . |
|
69 | - '/' . |
|
70 | - parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) . |
|
71 | - '/' . |
|
72 | - $this->getName() . |
|
68 | + return $this->getBasePath(). |
|
69 | + '/'. |
|
70 | + parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true). |
|
71 | + '/'. |
|
72 | + $this->getName(). |
|
73 | 73 | '/'; |
74 | 74 | } |
75 | 75 |