@@ -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 | } |
@@ -91,7 +91,7 @@ |
||
91 | 91 | { |
92 | 92 | return array_first( |
93 | 93 | explode('=>', $rules), |
94 | - function ($key/*, $value*/) { |
|
94 | + function($key/*, $value*/) { |
|
95 | 95 | return $key; |
96 | 96 | } |
97 | 97 | ); |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | { |
126 | 126 | return array_first( |
127 | 127 | explode(':', $schema), |
128 | - function ($key/*, $value*/) { |
|
128 | + function($key/*, $value*/) { |
|
129 | 129 | return $key; |
130 | 130 | } |
131 | 131 | ); |
@@ -144,8 +144,7 @@ discard block |
||
144 | 144 | $fields = str_replace($column.':', '', $schema); |
145 | 145 | |
146 | 146 | return $this->hasCustomAttribute($column) ? |
147 | - $this->getCustomAttribute($column) : |
|
148 | - explode(':', $fields); |
|
147 | + $this->getCustomAttribute($column) : explode(':', $fields); |
|
149 | 148 | } |
150 | 149 | |
151 | 150 | /** |
@@ -99,7 +99,7 @@ |
||
99 | 99 | $result .= "\t\t'".$this->getIdName()."' => '".str_singular($this->getIdName())."',\r\n"; |
100 | 100 | if (!empty($fields)) { |
101 | 101 | foreach ($fields as /*$index =>*/ |
102 | - $field) { |
|
102 | + $field) { |
|
103 | 103 | $result .= "\t\t'{$field['name']}' => '{$field['comment']}',\r\n"; |
104 | 104 | } |
105 | 105 | $result .= "\t\t'created_by' => 'CREATED_BY',\r\n"; |