Completed
Push — master ( 9a4d7c...56f811 )
by Lars
03:47
created
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.