@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\ApiSkeleton\Controller\Course; |
6 | 6 | |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | $accept, |
100 | 100 | Error::SCOPE_BODY, |
101 | 101 | 'course', |
102 | - (new NestedErrorMessages($errors, function (string $key, array $arguments) use ($locale) { |
|
102 | + (new NestedErrorMessages($errors, function(string $key, array $arguments) use ($locale) { |
|
103 | 103 | return $this->translator->translate($locale, $key, $arguments); |
104 | 104 | }))->getMessages() |
105 | 105 | ); |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\ApiSkeleton\Controller\Course; |
6 | 6 | |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | $accept, |
94 | 94 | Error::SCOPE_QUERY, |
95 | 95 | 'course-search', |
96 | - (new NestedErrorMessages($errors, function (string $key, array $arguments) use ($locale) { |
|
96 | + (new NestedErrorMessages($errors, function(string $key, array $arguments) use ($locale) { |
|
97 | 97 | return $this->translator->translate($locale, $key, $arguments); |
98 | 98 | }))->getMessages() |
99 | 99 | ); |