@@ -83,10 +83,10 @@ |
||
| 83 | 83 | */ |
| 84 | 84 | public function languagesAvailable() |
| 85 | 85 | { |
| 86 | - $languages = []; |
|
| 87 | - foreach ($this->container->getParameter('dictionaries') as $languageId => $dictionary) { |
|
| 88 | - $languages += [ $dictionary['self_name'] => $languageId ]; |
|
| 89 | - } |
|
| 86 | + $languages = []; |
|
| 87 | + foreach ($this->container->getParameter('dictionaries') as $languageId => $dictionary) { |
|
| 88 | + $languages += [ $dictionary['self_name'] => $languageId ]; |
|
| 89 | + } |
|
| 90 | 90 | return $languages; |
| 91 | 91 | } |
| 92 | 92 | } |
@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 7 | 7 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 8 | 8 | |
| 9 | - abstract class AbstractController extends Controller |
|
| 9 | + abstract class AbstractController extends Controller |
|
| 10 | 10 | { |
| 11 | 11 | |
| 12 | 12 | /** |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | 'password' => env('API_PASSWORD') |
| 40 | 40 | ] |
| 41 | 41 | ])->getBody() |
| 42 | - ->getContents()); |
|
| 42 | + ->getContents()); |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |