@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | */ |
| 179 | 179 | public function append(string $string): self |
| 180 | 180 | { |
| 181 | - return static::create($this->str . $string, $this->encoding); |
|
| 181 | + return static::create($this->str.$string, $this->encoding); |
|
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | /** |
@@ -1003,7 +1003,7 @@ discard block |
||
| 1003 | 1003 | $quotedPattern = \preg_quote($pattern, '/'); |
| 1004 | 1004 | $replaceWildCards = \str_replace('\*', '.*', $quotedPattern); |
| 1005 | 1005 | |
| 1006 | - return $this->matchesPattern('^' . $replaceWildCards . '\z'); |
|
| 1006 | + return $this->matchesPattern('^'.$replaceWildCards.'\z'); |
|
| 1007 | 1007 | } |
| 1008 | 1008 | |
| 1009 | 1009 | /** |
@@ -1502,7 +1502,7 @@ discard block |
||
| 1502 | 1502 | */ |
| 1503 | 1503 | public function prepend(string $string): self |
| 1504 | 1504 | { |
| 1505 | - return static::create($string . $this->str, $this->encoding); |
|
| 1505 | + return static::create($string.$this->str, $this->encoding); |
|
| 1506 | 1506 | } |
| 1507 | 1507 | |
| 1508 | 1508 | /** |
@@ -1542,7 +1542,7 @@ discard block |
||
| 1542 | 1542 | public function removeHtml(string $allowableTags = null): self |
| 1543 | 1543 | { |
| 1544 | 1544 | return static::create( |
| 1545 | - $this->utf8::remove_html($this->str, $allowableTags . ''), |
|
| 1545 | + $this->utf8::remove_html($this->str, $allowableTags.''), |
|
| 1546 | 1546 | $this->encoding |
| 1547 | 1547 | ); |
| 1548 | 1548 | } |
@@ -1868,7 +1868,7 @@ discard block |
||
| 1868 | 1868 | $stringy->str = \str_replace('@', $replacement, $stringy->str); |
| 1869 | 1869 | |
| 1870 | 1870 | $stringy->str = (string) \preg_replace( |
| 1871 | - '/[^a-zA-Z\d\s\-_' . \preg_quote($replacement, '/') . ']/u', |
|
| 1871 | + '/[^a-zA-Z\d\s\-_'.\preg_quote($replacement, '/').']/u', |
|
| 1872 | 1872 | '', |
| 1873 | 1873 | $stringy->str |
| 1874 | 1874 | ); |
@@ -2100,7 +2100,7 @@ discard block |
||
| 2100 | 2100 | public function surround(string $substring): self |
| 2101 | 2101 | { |
| 2102 | 2102 | return static::create( |
| 2103 | - $substring . $this->str . $substring, |
|
| 2103 | + $substring.$this->str.$substring, |
|
| 2104 | 2104 | $this->encoding |
| 2105 | 2105 | ); |
| 2106 | 2106 | } |