Completed
Push — master ( 1afdcc...232d56 )
by Ducatel
04:10
created
src/Base/AbstractTypedCollection.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,18 +38,18 @@  discard block
 block discarded – undo
38 38
 
39 39
         if (is_string($type)) { // Collection of object
40 40
 
41
-            $this->validateTypeFct = function ($object) use ($type) {
41
+            $this->validateTypeFct = function($object) use ($type) {
42 42
                 return ($object instanceof $type);
43 43
             };
44 44
 
45 45
             if ($equalsFct === null) {
46 46
                 $arrayOfInterface = class_implements($type);
47 47
                 if (in_array("Ducatel\\PHPCollection\\Base\\Equatable", $arrayOfInterface)) {
48
-                    $this->equalsFct = function ($obj1, $obj2) {
48
+                    $this->equalsFct = function($obj1, $obj2) {
49 49
                         return $obj1->equals($obj2);
50 50
                     };
51 51
                 } else {
52
-                    $this->equalsFct = function ($obj1, $obj2) {
52
+                    $this->equalsFct = function($obj1, $obj2) {
53 53
                         return $obj1 === $obj2;
54 54
                     };
55 55
                 }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             $this->validateTypeFct = $type;
61 61
 
62 62
             if ($equalsFct === null) {
63
-                $this->equalsFct = function ($obj1, $obj2) {
63
+                $this->equalsFct = function($obj1, $obj2) {
64 64
                     return $obj1 === $obj2;
65 65
                 };
66 66
             } else {
Please login to merge, or discard this patch.