@@ -67,7 +67,9 @@ discard block |
||
67 | 67 | * К примеру формата даты или длины |
68 | 68 | */ |
69 | 69 | |
70 | - if (in_array($this->getType($value), $types)) return /* success */; |
|
70 | + if (in_array($this->getType($value), $types)) { |
|
71 | + return /* success */; |
|
72 | + } |
|
71 | 73 | |
72 | 74 | if ($this->exists) { |
73 | 75 | |
@@ -75,7 +77,9 @@ discard block |
||
75 | 77 | foreach ($intersect as $key) { |
76 | 78 | $diff = $this->compare($value, $this->temporaryCustom[$key]); |
77 | 79 | |
78 | - if (empty($diff)) return /* success */; |
|
80 | + if (empty($diff)) { |
|
81 | + return /* success */; |
|
82 | + } |
|
79 | 83 | } |
80 | 84 | |
81 | 85 | /** |
@@ -108,7 +112,9 @@ discard block |
||
108 | 112 | |
109 | 113 | |
110 | 114 | foreach ($data as $value) { |
111 | - if (in_array($value, $set, true)) continue; |
|
115 | + if (in_array($value, $set, true)) { |
|
116 | + continue; |
|
117 | + } |
|
112 | 118 | |
113 | 119 | return $this->createDiff('var:type', StructureDiffInfo::TYPE); |
114 | 120 | } |