Completed
Push — master ( 54dd63...b30cd2 )
by Lars
01:50
created
src/StaticStringy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
         }
146 146
 
147 147
         if (!isset(static::$methodArgs[$name])) {
148
-            throw new \BadMethodCallException($name . ' is not a valid method');
148
+            throw new \BadMethodCallException($name.' is not a valid method');
149 149
         }
150 150
 
151 151
         $numArgs = \count($arguments);
Please login to merge, or discard this patch.
src/Stringy.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -193,6 +193,7 @@  discard block
 block discarded – undo
193 193
      * Returns a new string with $string appended.
194 194
      *
195 195
      * @param string ...$suffix <p>The string to append.</p>
196
+     * @param string[] $suffix
196 197
      *
197 198
      * @return static
198 199
      *                <p>Object with appended $string.</p>
@@ -1129,6 +1130,7 @@  discard block
 block discarded – undo
1129 1130
      * Determine whether the string is equals to $str.
1130 1131
      *
1131 1132
      * @param string ...$str <p>The string to compare.</p>
1133
+     * @param string[] $str
1132 1134
      *
1133 1135
      * @return bool
1134 1136
      *              <p>Whether or not $str is equals.</p>
@@ -1570,6 +1572,7 @@  discard block
 block discarded – undo
1570 1572
      * Returns a new string starting with $string.
1571 1573
      *
1572 1574
      * @param string ...$prefix <p>The string to append.</p>
1575
+     * @param string[] $prefix
1573 1576
      *
1574 1577
      * @return static
1575 1578
      *                <p>Object with appended $string.</p>
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
             $suffix = \implode('', $suffix);
210 210
         }
211 211
 
212
-        return static::create($this->str . $suffix, $this->encoding);
212
+        return static::create($this->str.$suffix, $this->encoding);
213 213
     }
214 214
 
215 215
     /**
@@ -1034,7 +1034,7 @@  discard block
 block discarded – undo
1034 1034
         $quotedPattern = \preg_quote($pattern, '/');
1035 1035
         $replaceWildCards = \str_replace('\*', '.*', $quotedPattern);
1036 1036
 
1037
-        return $this->matchesPattern('^' . $replaceWildCards . '\z');
1037
+        return $this->matchesPattern('^'.$replaceWildCards.'\z');
1038 1038
     }
1039 1039
 
1040 1040
     /**
@@ -1586,7 +1586,7 @@  discard block
 block discarded – undo
1586 1586
             $prefix = \implode('', ...$prefix);
1587 1587
         }
1588 1588
 
1589
-        return static::create($prefix . $this->str, $this->encoding);
1589
+        return static::create($prefix.$this->str, $this->encoding);
1590 1590
     }
1591 1591
 
1592 1592
     /**
@@ -2231,7 +2231,7 @@  discard block
 block discarded – undo
2231 2231
     public function surround(string $substring): self
2232 2232
     {
2233 2233
         return static::create(
2234
-            $substring . $this->str . $substring,
2234
+            $substring.$this->str.$substring,
2235 2235
             $this->encoding
2236 2236
         );
2237 2237
     }
Please login to merge, or discard this patch.