@@ -17,13 +17,13 @@ |
||
17 | 17 | |
18 | 18 | if ($this->isJsonFile($json)) { |
19 | 19 | $path = $this->filePath->getFilePath($json); |
20 | - if (!file_exists($path)) throw new \Exception('File does not exist at: ' . $path); |
|
20 | + if (!file_exists($path)) throw new \Exception('File does not exist at: '.$path); |
|
21 | 21 | $json = file_get_contents($path); |
22 | 22 | } |
23 | 23 | |
24 | 24 | $map = json_decode($json, true); |
25 | 25 | |
26 | - if (!is_array($map)) throw new \Exception('Could not decode json: ' . json_last_error_msg()); |
|
26 | + if (!is_array($map)) throw new \Exception('Could not decode json: '.json_last_error_msg()); |
|
27 | 27 | |
28 | 28 | return $map; |
29 | 29 | } |