Completed
Push — master ( 7c79ce...5c8a1a )
by Lars
13:38
created
src/StaticStringy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     }
148 148
 
149 149
     if (!isset(static::$methodArgs[$name])) {
150
-      throw new \BadMethodCallException($name . ' is not a valid method');
150
+      throw new \BadMethodCallException($name.' is not a valid method');
151 151
     }
152 152
 
153 153
     $numArgs = \count($arguments);
Please login to merge, or discard this patch.
src/Stringy.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
       );
63 63
     }
64 64
 
65
-    $this->str = (string)$str;
65
+    $this->str = (string) $str;
66 66
 
67 67
     if ($encoding && $encoding !== 'UTF-8') {
68 68
       $this->encoding = UTF8::normalize_encoding($encoding);
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
    */
79 79
   public function __toString()
80 80
   {
81
-    return (string)$this->str;
81
+    return (string) $this->str;
82 82
   }
83 83
 
84 84
   /**
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
    */
167 167
   public function append(string $string): self
168 168
   {
169
-    return static::create($this->str . $string, $this->encoding);
169
+    return static::create($this->str.$string, $this->encoding);
170 170
   }
171 171
 
172 172
   /**
@@ -953,7 +953,7 @@  discard block
 block discarded – undo
953 953
     $quotedPattern = \preg_quote($pattern, '/');
954 954
     $replaceWildCards = \str_replace('\*', '.*', $quotedPattern);
955 955
 
956
-    return $this->matchesPattern('^' . $replaceWildCards . '\z');
956
+    return $this->matchesPattern('^'.$replaceWildCards.'\z');
957 957
   }
958 958
 
959 959
   /**
@@ -1423,7 +1423,7 @@  discard block
 block discarded – undo
1423 1423
    */
1424 1424
   public function prepend(string $string): self
1425 1425
   {
1426
-    return static::create($string . $this->str, $this->encoding);
1426
+    return static::create($string.$this->str, $this->encoding);
1427 1427
   }
1428 1428
 
1429 1429
   /**
@@ -2015,7 +2015,7 @@  discard block
 block discarded – undo
2015 2015
    */
2016 2016
   public function toString(): string
2017 2017
   {
2018
-    return (string)$this->str;
2018
+    return (string) $this->str;
2019 2019
   }
2020 2020
 
2021 2021
   /**
Please login to merge, or discard this patch.