Passed
Push — master ( 6fd2c5...d57481 )
by Maurício
03:03 queued 13s
created
src/UtfString.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     {
79 79
         $this->str = $str;
80 80
         $this->byteLen = mb_strlen($str, '8bit');
81
-        if (! mb_check_encoding($str, 'UTF-8')) {
81
+        if (!mb_check_encoding($str, 'UTF-8')) {
82 82
             $this->charLen = 0;
83 83
         } else {
84 84
             $this->charLen = mb_strlen($str, 'UTF-8');
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      *
101 101
      * @param int $offset the offset to be returned
102 102
      */
103
-    public function offsetGet($offset): string|null
103
+    public function offsetGet($offset): string | null
104 104
     {
105 105
         // This function moves the internal byte and character pointer to the requested offset.
106 106
         // This function is part of hot code so the aim is to do the following
Please login to merge, or discard this patch.