@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | |
53 | 53 | $entries = $this->getData($page->getVariable($variable)); |
54 | 54 | |
55 | - uasort($entries, function ($a, $b) use ($field) { |
|
55 | + uasort($entries, function($a, $b) use ($field) { |
|
56 | 56 | return strcmp($a[$field], $b[$field]); |
57 | 57 | }); |
58 | 58 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * |
76 | 76 | * @throws ConfigurationException |
77 | 77 | */ |
78 | - private function validateConfig(?array $config) { |
|
78 | + private function validateConfig(? array $config) { |
|
79 | 79 | if (!isset($config['field'])) { |
80 | 80 | throw ConfigurationException::requiredAdapterOptions(AdapterFactory::ORDER_ADAPTER, 'field'); |
81 | 81 | } |
@@ -114,7 +114,7 @@ |
||
114 | 114 | * |
115 | 115 | * @return null|string |
116 | 116 | */ |
117 | - private function cleanCacheDir(string $cacheDir) : ?string { |
|
117 | + private function cleanCacheDir(string $cacheDir) : ? string { |
|
118 | 118 | if (!$this->fs->exists($cacheDir)) { |
119 | 119 | return ''; |
120 | 120 | } |