Completed
Push — sfclone ( 319afe )
by
unknown
42s
created
src/SWP/Bundle/CoreBundle/Migrations/2021/01/Version20210112135542.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,9 +132,9 @@
 block discarded – undo
132 132
         }
133 133
 
134 134
         // If unserialize failed, try to fix and retry
135
-        $callback = function ($matches) {
135
+        $callback = function($matches) {
136 136
             $matches[2] = trim(preg_replace('/\s\s+/', ' ', $matches[2]));
137
-            return 's:' . mb_strlen($matches[2]) . ':"' . $matches[2] . '";';
137
+            return 's:'.mb_strlen($matches[2]).':"'.$matches[2].'";';
138 138
         };
139 139
 
140 140
         $data = preg_replace_callback('!s:(\d+):"(.*?)";!s', $callback, $data);
Please login to merge, or discard this patch.