|
@@ -24,7 +24,7 @@ |
|
|
block discarded – undo |
|
24
|
24
|
$properties = get_object_vars($this); |
|
25
|
25
|
foreach (array_keys($properties) as $property) |
|
26
|
26
|
{ |
|
27
|
|
- if ( ! in_array($property, $this->property_blacklist) && !property_exists($result, $property)) |
|
|
27
|
+ if (!in_array($property, $this->property_blacklist) && !property_exists($result, $property)) |
|
28
|
28
|
{ |
|
29
|
29
|
throw new \Exception('Incorrect input for ' . __CLASS__ . ' object. Property "' . $property . '" not found'); |
|
30
|
30
|
} |
Please login to merge, or discard this patch.