@@ -143,7 +143,9 @@ |
||
143 | 143 | { |
144 | 144 | $value = call_user_func_array($this->valueResolver, [$model, $locale]); |
145 | 145 | |
146 | - if(is_null($value)) return $this->default; |
|
146 | + if(is_null($value)) { |
|
147 | + return $this->default; |
|
148 | + } |
|
147 | 149 | |
148 | 150 | return $value; |
149 | 151 | } |
@@ -178,7 +178,9 @@ |
||
178 | 178 | public function can($verb): bool |
179 | 179 | { |
180 | 180 | foreach (static::$bootedTraitMethods['can'] as $method) { |
181 | - if(!method_exists($this, $method)) continue; |
|
181 | + if(!method_exists($this, $method)) { |
|
182 | + continue; |
|
183 | + } |
|
182 | 184 | $this->$method($verb); |
183 | 185 | } |
184 | 186 |