@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | |
154 | 154 | $getter = 'get'.ucfirst($key); |
155 | 155 | if (!isset($this->mutatorCache[$getter])) { |
156 | - $this->mutatorCache[$getter] = is_callable([ $this, $getter ]); |
|
156 | + $this->mutatorCache[$getter] = is_callable([$this, $getter]); |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | if ($this->mutatorCache[$getter]) { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | |
163 | 163 | // -- START DEPRECATED |
164 | 164 | if (!isset($this->mutatorCache[$key])) { |
165 | - $this->mutatorCache[$key] = is_callable([ $this, $key ]); |
|
165 | + $this->mutatorCache[$key] = is_callable([$this, $key]); |
|
166 | 166 | } |
167 | 167 | |
168 | 168 | if ($this->mutatorCache[$key]) { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | |
215 | 215 | $getter = 'get'.ucfirst($key); |
216 | 216 | if (!isset($this->mutatorCache[$getter])) { |
217 | - $this->mutatorCache[$getter] = is_callable([ $this, $getter ]); |
|
217 | + $this->mutatorCache[$getter] = is_callable([$this, $getter]); |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | if ($this->mutatorCache[$getter]) { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | |
224 | 224 | // -- START DEPRECATED |
225 | 225 | if (!isset($this->mutatorCache[$key])) { |
226 | - $this->mutatorCache[$key] = is_callable([ $this, $key ]); |
|
226 | + $this->mutatorCache[$key] = is_callable([$this, $key]); |
|
227 | 227 | } |
228 | 228 | |
229 | 229 | if ($this->mutatorCache[$key]) { |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | |
275 | 275 | $setter = 'set'.ucfirst($key); |
276 | 276 | if (!isset($this->mutatorCache[$setter])) { |
277 | - $this->mutatorCache[$setter] = is_callable([ $this, $setter ]); |
|
277 | + $this->mutatorCache[$setter] = is_callable([$this, $setter]); |
|
278 | 278 | } |
279 | 279 | |
280 | 280 | if ($this->mutatorCache[$setter]) { |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | |
154 | 154 | $getter = 'get'.ucfirst($key); |
155 | 155 | if (!isset($this->mutatorCache[$getter])) { |
156 | - $this->mutatorCache[$getter] = is_callable([ $this, $getter ]); |
|
156 | + $this->mutatorCache[$getter] = is_callable([$this, $getter]); |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | if ($this->mutatorCache[$getter]) { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | |
163 | 163 | // -- START DEPRECATED |
164 | 164 | if (!isset($this->mutatorCache[$key])) { |
165 | - $this->mutatorCache[$key] = is_callable([ $this, $key ]); |
|
165 | + $this->mutatorCache[$key] = is_callable([$this, $key]); |
|
166 | 166 | } |
167 | 167 | |
168 | 168 | if ($this->mutatorCache[$key]) { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | |
215 | 215 | $getter = 'get'.ucfirst($key); |
216 | 216 | if (!isset($this->mutatorCache[$getter])) { |
217 | - $this->mutatorCache[$getter] = is_callable([ $this, $getter ]); |
|
217 | + $this->mutatorCache[$getter] = is_callable([$this, $getter]); |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | if ($this->mutatorCache[$getter]) { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | |
224 | 224 | // -- START DEPRECATED |
225 | 225 | if (!isset($this->mutatorCache[$key])) { |
226 | - $this->mutatorCache[$key] = is_callable([ $this, $key ]); |
|
226 | + $this->mutatorCache[$key] = is_callable([$this, $key]); |
|
227 | 227 | } |
228 | 228 | |
229 | 229 | if ($this->mutatorCache[$key]) { |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | |
275 | 275 | $setter = 'set'.ucfirst($key); |
276 | 276 | if (!isset($this->mutatorCache[$setter])) { |
277 | - $this->mutatorCache[$setter] = is_callable([ $this, $setter ]); |
|
277 | + $this->mutatorCache[$setter] = is_callable([$this, $setter]); |
|
278 | 278 | } |
279 | 279 | |
280 | 280 | if ($this->mutatorCache[$setter]) { |