Completed
Push — master ( 3f0e0e...611286 )
by Xu
281:18 queued 241:24
created
src/widgets/FontAwesomeAsset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function init()
37 37
     {
38 38
         parent::init();
39
-        $this->publishOptions['beforeCopy'] = function ($from, $to) {
39
+        $this->publishOptions['beforeCopy'] = function($from, $to) {
40 40
             return preg_match('%(/|\\\\)(fonts|css)%', $from);
41 41
         };
42 42
     }
Please login to merge, or discard this patch.
src/admin/actions/Action.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
 
207 207
         foreach ((array)$message as $key => $value) {
208 208
             if (is_scalar($value)) {
209
-                $value = preg_replace_callback("/{(\\w+)}/", function ($matches) use ($params) {
209
+                $value = preg_replace_callback("/{(\\w+)}/", function($matches) use ($params) {
210 210
                     $paramName = $matches[1];
211 211
                     return isset($params[$paramName]) ? $params[$paramName] : $paramName;
212 212
                 }, $value);
Please login to merge, or discard this patch.