Completed
Pull Request — master (#76)
by Simone
03:10 queued 45s
created
src/Sensorario/Resources/Validators/Validators/AllowedProperties.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
                 if (!$isAllowed) {
38 38
                     throw new RuntimeException(
39 39
                         "Key `" . get_class($resource)
40
-                        . "::\$$key` with value `" .  $value
40
+                        . "::\$$key` with value `" . $value
41 41
                         . "` is not allowed"
42 42
                     );
43 43
                 }
Please login to merge, or discard this patch.
src/Sensorario/Resources/MagicResource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         foreach ($properties as $k => $v) {
58 58
             if ('object' === gettype($v) && !isset($this->rules()[$k])) {
59 59
                 throw new RuntimeException(
60
-                    'When property `' . $k . '` is an object class, must be defined in Resources::rules()'.
60
+                    'When property `' . $k . '` is an object class, must be defined in Resources::rules()' .
61 61
                     ' but rules here are equals to ' . var_export($this->rules(), true)
62 62
                     . ' And properties are ' . var_export($this->properties, true)
63 63
                 );
Please login to merge, or discard this patch.