@@ -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]) { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | |
| 161 | 161 | $getter = 'get'.ucfirst($key); |
| 162 | 162 | if (!isset($this->mutatorCache[$getter])) { |
| 163 | - $this->mutatorCache[$getter] = is_callable([ $this, $getter ]); |
|
| 163 | + $this->mutatorCache[$getter] = is_callable([$this, $getter]); |
|
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | if ($this->mutatorCache[$getter]) { |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | |
| 170 | 170 | // -- START DEPRECATED |
| 171 | 171 | if (!isset($this->mutatorCache[$key])) { |
| 172 | - $this->mutatorCache[$key] = is_callable([ $this, $key ]); |
|
| 172 | + $this->mutatorCache[$key] = is_callable([$this, $key]); |
|
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | if ($this->mutatorCache[$key]) { |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | |
| 216 | 216 | $getter = 'get'.ucfirst($key); |
| 217 | 217 | if (!isset($this->mutatorCache[$getter])) { |
| 218 | - $this->mutatorCache[$getter] = is_callable([ $this, $getter ]); |
|
| 218 | + $this->mutatorCache[$getter] = is_callable([$this, $getter]); |
|
| 219 | 219 | } |
| 220 | 220 | |
| 221 | 221 | if ($this->mutatorCache[$getter]) { |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | |
| 225 | 225 | // -- START DEPRECATED |
| 226 | 226 | if (!isset($this->mutatorCache[$key])) { |
| 227 | - $this->mutatorCache[$key] = is_callable([ $this, $key ]); |
|
| 227 | + $this->mutatorCache[$key] = is_callable([$this, $key]); |
|
| 228 | 228 | } |
| 229 | 229 | |
| 230 | 230 | if ($this->mutatorCache[$key]) { |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | |
| 272 | 272 | $setter = 'set'.ucfirst($key); |
| 273 | 273 | if (!isset($this->mutatorCache[$setter])) { |
| 274 | - $this->mutatorCache[$setter] = is_callable([ $this, $setter ]); |
|
| 274 | + $this->mutatorCache[$setter] = is_callable([$this, $setter]); |
|
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | if ($this->mutatorCache[$setter]) { |