@@ -67,9 +67,9 @@ discard block |
||
| 67 | 67 | foreach ($this->handlers as $handler) { |
| 68 | 68 | if ($handler->has($file, $property, $context)) { |
| 69 | 69 | if (is_array($data = $handler->get($file, $property, $context)) && $property !== $dotProperty) { |
| 70 | - return Arr::getRecursive($data, str_replace($property . '.', '', $dotProperty)); |
|
| 71 | - } |
|
| 72 | - return $data; |
|
| 70 | + return Arr::getRecursive($data, str_replace($property . '.', '', $dotProperty)); |
|
| 71 | + } |
|
| 72 | + return $data; |
|
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | 75 | |
@@ -168,9 +168,9 @@ discard block |
||
| 168 | 168 | */ |
| 169 | 169 | private function prepareFileAndProperty(string $key): array |
| 170 | 170 | { |
| 171 | - $parts = $this->parseDotSyntax($key); |
|
| 172 | - $file = array_shift($parts); |
|
| 173 | - $property = $parts[0]; |
|
| 171 | + $parts = $this->parseDotSyntax($key); |
|
| 172 | + $file = array_shift($parts); |
|
| 173 | + $property = $parts[0]; |
|
| 174 | 174 | |
| 175 | 175 | $config = config($file); |
| 176 | 176 | |