Completed
Push — master ( f393b7...7f6de1 )
by Barney
03:29 queued 22s
created
examples/example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
 
24 24
 $arrayStorage = ImmutableArrayStorage::fromTraversable($objects);
25 25
 
26
-foreach($arrayStorage as $object) {
26
+foreach ($arrayStorage as $object) {
27 27
     echo $object->say();
28 28
 }
Please login to merge, or discard this patch.
src/ImmutableArrayAccessTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
     }
12 12
 
13 13
     final public function offsetUnset($offset) {
14
-      $msg = 'Collection %s is immutable and values cannot be unset.';
15
-      $this->throwImmutable(sprintf($msg, static::class));
14
+        $msg = 'Collection %s is immutable and values cannot be unset.';
15
+        $this->throwImmutable(sprintf($msg, static::class));
16 16
     }
17 17
 
18 18
     protected function throwImmutable($msg, $errorCode = null)
Please login to merge, or discard this patch.
src/FixedArrayStorageTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Shrikeh\Collection;
4 4
 
5
-use Countable;
6 5
 use SplFixedArray;
7 6
 
8 7
 trait FixedArrayStorageTrait
Please login to merge, or discard this patch.