Completed
Push — master ( e75275...99d97f )
by smiley
01:50
created
src/ArrayHelpers/SearchableArray.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,15 +31,13 @@
 block discarded – undo
31 31
 
32 32
 		if(($array instanceof ArrayObject) || ($array instanceof ArrayIterator)){
33 33
 			$this->array = $array->getArrayCopy(); // @codeCoverageIgnore
34
-		}
35
-		elseif($array instanceof Traversable){
34
+		} elseif($array instanceof Traversable){
36 35
 			$this->array = \iterator_to_array($array); // @codeCoverageIgnore
37 36
 		}
38 37
 		// yields unexpected results with DotArray
39 38
 		elseif(\gettype($array) === 'object'){
40 39
 			$this->array = \get_object_vars($array); // @codeCoverageIgnore
41
-		}
42
-		elseif(\is_array($array)){
40
+		} elseif(\is_array($array)){
43 41
 			$this->array = $array;
44 42
 		}
45 43
 
Please login to merge, or discard this patch.