@@ -37,7 +37,7 @@ |
||
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 | } |
@@ -57,7 +57,7 @@ |
||
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 | ); |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | if ($this->typeMismatch()) { |
64 | 64 | if ($this->resource->isFieldNumericButString($this->fieldName)) { |
65 | 65 | throw new \RuntimeException( |
66 | - 'Property `'.$this->fieldName.'` must be an integer!' |
|
66 | + 'Property `' . $this->fieldName . '` must be an integer!' |
|
67 | 67 | ); |
68 | 68 | } |
69 | 69 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | { |
92 | 92 | if ($this->rule->isNotMail()) { |
93 | 93 | throw new \RuntimeException( |
94 | - 'Oops! `'. $this->rule->getRuleType() .'` custom validator is not available. Only email is.' |
|
94 | + 'Oops! `' . $this->rule->getRuleType() . '` custom validator is not available. Only email is.' |
|
95 | 95 | ); |
96 | 96 | } |
97 | 97 | } |