Completed
Push — 4.0 ( 9f3f64...adbbd2 )
by Serhii
01:58
created
src/Tools.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         if (preg_match($version, $uaString)) {
19 19
             preg_match($version, $uaString, $v);
20 20
             $version = $v[0];
21
-            $version = preg_replace('/' . $phrase . '/', '', $version);
21
+            $version = preg_replace('/'.$phrase.'/', '', $version);
22 22
             $version = str_replace(';', '', $version);
23 23
             $version = str_replace(' ', '', $version);
24 24
             $version = str_replace('/', '', $version);
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     public static function resolvePath(array &$files, $path)
55 55
     {
56
-        if(is_array($path)) {
56
+        if (is_array($path)) {
57 57
             $files = \array_merge($files, $path);
58 58
         } else {
59 59
             $files[] = $path;
Please login to merge, or discard this patch.