@@ -99,9 +99,9 @@ |
||
| 99 | 99 | if (is_string($options)) { |
| 100 | 100 | $options = ['source' => new OL("source.$options")]; |
| 101 | 101 | } |
| 102 | - $processedLayers []= new OL("layer.$type", $options); |
|
| 102 | + $processedLayers [] = new OL("layer.$type", $options); |
|
| 103 | 103 | } else { // Therefore $type is simply an integer array key |
| 104 | - $processedLayers []= $options; |
|
| 104 | + $processedLayers [] = $options; |
|
| 105 | 105 | } |
| 106 | 106 | } |
| 107 | 107 | $this->mapOptions['layers'] = $processedLayers; |