Completed
Push — master ( 7c779a...16979d )
by Reen
10:48
created
src/Comparator.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -88,6 +88,9 @@
 block discarded – undo
88 88
         return $this->createDiff('var:type', StructureDiffInfo::TYPE);
89 89
     }
90 90
 
91
+    /**
92
+     * @param string $structure
93
+     */
91 94
     private function diffType($data, $structure)
92 95
     {
93 96
         $needTypes = explode('|', $structure);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 				return $this->assoc($structure['assoc'], $data);
134 134
             }
135 135
 			
136
-			if(isset($structure['values'])) {
136
+			if (isset($structure['values'])) {
137 137
 
138 138
                 if (is_array($structure['values'])) {
139 139
                     foreach ($data as $key => $subData) {
Please login to merge, or discard this patch.
src/StructureDiffInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public static function createDiff($message)
26 26
     {
27
-        $self =  new self(false);
27
+        $self = new self(false);
28 28
         $self->message = $message;
29 29
         return $self;
30 30
     }
Please login to merge, or discard this patch.