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