@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | public function render() |
64 | 64 | { |
65 | - return $this->tools->map(function ($tool) { |
|
65 | + return $this->tools->map(function($tool) { |
|
66 | 66 | if ($tool instanceof Renderable) { |
67 | 67 | return $tool->render(); |
68 | 68 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -10,5 +10,5 @@ |
||
10 | 10 | protected $rules = [ |
11 | 11 | ValidatorInterface::RULE_CREATE => [], |
12 | 12 | ValidatorInterface::RULE_UPDATE => [], |
13 | - ]; |
|
13 | + ]; |
|
14 | 14 | } |
@@ -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 |