Completed
Push — master ( 9f7ab1...83baf5 )
by Andrii
03:29
created
src/components/Interpolator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
                 $this->interpolate($item);
15 15
             }
16 16
         } elseif (is_string($data)) {
17
-            $data = preg_replace_callback('/\\$(\\w+)\\[\'(.+?)\'\\]/', function ($matches) {
17
+            $data = preg_replace_callback('/\\$(\\w+)\\[\'(.+?)\'\\]/', function($matches) {
18 18
                 return $this->get($matches[1], $matches[2]);
19 19
             }, $data);
20 20
         }
Please login to merge, or discard this patch.