Completed
Branch master (d52177)
by Garrett
02:18
created
src/UStrObj.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,8 @@
 block discarded – undo
151 151
                     continue;
152 152
                 }
153 153
 
154
-                if ($ordcache === 0xFEFF) { // BOM
154
+                if ($ordcache === 0xFEFF) {
155
+// BOM
155 156
                     if ($originOffset !== 0) {
156 157
                         // if not at beginning, store as word joiner U+2060
157 158
                         $this->chars[] = [\chr(0xE2) . \chr(0x81) . \chr(0xA0), 0x2060];
Please login to merge, or discard this patch.
src/StrObj.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -516,12 +516,12 @@
 block discarded – undo
516 516
 
517 517
     public function offsetSet($offset, $value)
518 518
     {
519
-        throw new \LogicException('Cannot assign '.$value.' to immutable StrObj instance at index '.$offset);
519
+        throw new \LogicException('Cannot assign ' . $value . ' to immutable StrObj instance at index ' . $offset);
520 520
     }
521 521
 
522 522
     public function offsetUnset($offset)
523 523
     {
524
-        throw new \LogicException('Cannot unset index '.$offset.' on immutable StrObj instance');
524
+        throw new \LogicException('Cannot unset index ' . $offset . ' on immutable StrObj instance');
525 525
     }
526 526
 
527 527
     // PRIVATE STATIC FUNCTIONS
Please login to merge, or discard this patch.
src/Chunks.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,11 +63,11 @@
 block discarded – undo
63 63
 
64 64
     public function offsetSet($offset, $value)
65 65
     {
66
-        throw new \LogicException('Cannot assign '.$value.' to immutable StrObj adapter instance at index '.$offset);
66
+        throw new \LogicException('Cannot assign ' . $value . ' to immutable StrObj adapter instance at index ' . $offset);
67 67
     }
68 68
 
69 69
     public function offsetUnset($offset)
70 70
     {
71
-        throw new \LogicException('Cannot unset index '.$offset.' on immutable StrObj adapter instance');
71
+        throw new \LogicException('Cannot unset index ' . $offset . ' on immutable StrObj adapter instance');
72 72
     }
73 73
 }
Please login to merge, or discard this patch.