@@ -147,7 +147,7 @@ |
||
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | /** |
| 150 | - * @param $dataset |
|
| 150 | + * @param string $dataset |
|
| 151 | 151 | * @param string $format |
| 152 | 152 | * @param string $filter |
| 153 | 153 | * |
@@ -115,8 +115,8 @@ |
||
| 115 | 115 | { |
| 116 | 116 | $sortKey = $search->getSort(); |
| 117 | 117 | if (!empty($sortKey)) { |
| 118 | - $sorter = function ($key) { |
|
| 119 | - return function ($elt1, $elt2) use ($key) { |
|
| 118 | + $sorter = function($key) { |
|
| 119 | + return function($elt1, $elt2) use ($key) { |
|
| 120 | 120 | return strnatcmp($elt1[$key], $elt2[$key]); |
| 121 | 121 | }; |
| 122 | 122 | }; |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | $response = curl_exec($curl); |
| 72 | 72 | if (!$response) { |
| 73 | 73 | $this->error( |
| 74 | - 'Error: "' . curl_error($curl) . '" - Code: ' . curl_errno($curl). ' - Url: '.$url, |
|
| 74 | + 'Error: "' . curl_error($curl) . '" - Code: ' . curl_errno($curl) . ' - Url: ' . $url, |
|
| 75 | 75 | $parameters |
| 76 | 76 | ); |
| 77 | 77 | } else { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $configuration = new Configuration(); |
| 23 | 23 | $this->processConfiguration($configuration, $configs); |
| 24 | 24 | |
| 25 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 25 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 26 | 26 | $loader->load('services.yml'); |
| 27 | 27 | } |
| 28 | 28 | } |