@@ -214,7 +214,7 @@ |
||
214 | 214 | // fallback to the actual property. |
215 | 215 | if (isset($property)) { |
216 | 216 | throw $e; // Static property exists, |
217 | - // so you cannot create a new field. |
|
217 | + // so you cannot create a new field. |
|
218 | 218 | } else { |
219 | 219 | $this->ins->$name = $value; // Property does not exists |
220 | 220 | // so you can create a new field. |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | $rm = $rc->getMethod($name); |
38 | 38 | if (!$rm->isStatic()) { |
39 | 39 | throw new ProxyException( |
40 | - "Non-static method called statically: " . |
|
40 | + "Non-static method called statically: ". |
|
41 | 41 | "$rc->name::$name()" |
42 | 42 | ); |
43 | 43 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $rp = $rc->getProperty($name); |
60 | 60 | if (!$rp->isStatic()) { |
61 | 61 | throw new ProxyException( |
62 | - "Access to undeclared static property: " . |
|
62 | + "Access to undeclared static property: ". |
|
63 | 63 | "$rc->name::\$$name" |
64 | 64 | ); |
65 | 65 | } |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | return $rp; |
68 | 68 | } |
69 | 69 | throw new ProxyException( |
70 | - "Access to undeclared static property: " . |
|
70 | + "Access to undeclared static property: ". |
|
71 | 71 | "$rc->name::\$$name" |
72 | 72 | ); |
73 | 73 | } |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | return $this->ins->$name(...$args); |
158 | 158 | } |
159 | 159 | throw new ProxyException( |
160 | - "Call to undefined method: " . |
|
160 | + "Call to undefined method: ". |
|
161 | 161 | "{$this->ro->name}::$name()" |
162 | 162 | ); |
163 | 163 | } |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | ->getValue($this->ins); |
188 | 188 | } catch (ProxyException $e) { |
189 | 189 | try { |
190 | - return $this->__call('__get', [$name]); |
|
190 | + return $this->__call('__get', [ $name ]); |
|
191 | 191 | } catch (ProxyException $_) { |
192 | 192 | throw $e; |
193 | 193 | } |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $property->setValue($this->ins, $value); |
208 | 208 | } catch (ProxyException $e) { |
209 | 209 | try { |
210 | - $this->__call('__set', [$name, $value]); |
|
210 | + $this->__call('__set', [ $name, $value ]); |
|
211 | 211 | return; |
212 | 212 | } catch (ProxyException $_) { |
213 | 213 | } // If __set() is undefined, |