Passed
Pull Request — master (#506)
by
unknown
04:51 queued 02:06
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
         if (($offset < 0) || ($offset >= $this->charLen)) {
106 106
             return null;
Please login to merge, or discard this patch.