Completed
Push — master ( bd6727...15681f )
by Lars
02:50
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   +7 added lines, -7 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
   /**
@@ -1460,7 +1460,7 @@  discard block
 block discarded – undo
1460 1460
    */
1461 1461
   public function removeHtml(string $allowableTags = null): self
1462 1462
   {
1463
-    $str = UTF8::remove_html($this->str, $allowableTags . '');
1463
+    $str = UTF8::remove_html($this->str, $allowableTags.'');
1464 1464
 
1465 1465
     return static::create($str, $this->encoding);
1466 1466
   }
@@ -2044,7 +2044,7 @@  discard block
 block discarded – undo
2044 2044
    */
2045 2045
   public function toString(): string
2046 2046
   {
2047
-    return (string)$this->str;
2047
+    return (string) $this->str;
2048 2048
   }
2049 2049
 
2050 2050
   /**
Please login to merge, or discard this patch.