@@ -176,8 +176,9 @@ |
||
176 | 176 | foreach ($data as $ke => $sub) { |
177 | 177 | if($ke===$subvalue){ |
178 | 178 | $equals=true; |
179 | - if($valuee !== $sub) |
|
180 | - throw new \Exception(ucfirst($key).' está diferente de '.ucfirst($ke),1); |
|
179 | + if($valuee !== $sub) { |
|
180 | + throw new \Exception(ucfirst($key).' está diferente de '.ucfirst($ke),1); |
|
181 | + } |
|
181 | 182 | } |
182 | 183 | } |
183 | 184 | if(!$equals){ |