@@ -80,7 +80,7 @@ |
||
| 80 | 80 | return array_shift($annotations); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - $result = array_filter($annotations, function ($item) use ($group) { |
|
| 83 | + $result = array_filter($annotations, function($item) use ($group) { |
|
| 84 | 84 | return !empty($item->configuration->groups) && in_array($group, $item->configuration->groups); |
| 85 | 85 | }); |
| 86 | 86 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | $locale = $locale ?? Factory::DEFAULT_LOCALE; |
| 29 | 29 | |
| 30 | - if(empty($this->generators[$locale])){ |
|
| 30 | + if (empty($this->generators[$locale])) { |
|
| 31 | 31 | $this->generators[$locale] = $this->instantiate($locale); |
| 32 | 32 | } |
| 33 | 33 | |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - protected function instantiate($locale = null){ |
|
| 46 | + protected function instantiate($locale = null) { |
|
| 47 | 47 | return Factory::create($locale ?? Factory::DEFAULT_LOCALE); |
| 48 | 48 | } |
| 49 | 49 | |