@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | { |
93 | 93 | if ($item instanceof MetaItemContract) { |
94 | 94 | |
95 | - if (! is_null($this->findItem($item->key, $item->tag))) { |
|
95 | + if (!is_null($this->findItem($item->key, $item->tag))) { |
|
96 | 96 | $tag = $item->tag ?: $this->default_tag; |
97 | 97 | |
98 | 98 | $key = $item->key; |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | { |
120 | 120 | $collection = $this->whereKey($key); |
121 | 121 | |
122 | - if (! is_null($tag)) { |
|
122 | + if (!is_null($tag)) { |
|
123 | 123 | $collection = $collection->whereTag($tag); |
124 | 124 | } |
125 | 125 | |
@@ -149,10 +149,10 @@ discard block |
||
149 | 149 | */ |
150 | 150 | protected function observeDeletion(MetaItemContract $item) |
151 | 151 | { |
152 | - $item::deleted(function ($model) { |
|
152 | + $item::deleted(function($model) { |
|
153 | 153 | $key = $this->findItem($model->key, $model->tag); |
154 | 154 | |
155 | - if (! is_null($key)) { |
|
155 | + if (!is_null($key)) { |
|
156 | 156 | $this->forget($key); |
157 | 157 | } |
158 | 158 | }); |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | */ |
233 | 233 | public function __isset($name) |
234 | 234 | { |
235 | - return ! is_null($this->findItem($name, $this->default_tag)); |
|
235 | + return !is_null($this->findItem($name, $this->default_tag)); |
|
236 | 236 | } |
237 | 237 | |
238 | 238 | /** |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | { |
245 | 245 | $key = $this->findItem($name, $this->default_tag); |
246 | 246 | |
247 | - if (! is_null($key)) { |
|
247 | + if (!is_null($key)) { |
|
248 | 248 | $this->forget($key); |
249 | 249 | } |
250 | 250 | } |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | { |
261 | 261 | $key = $this->findItem($name, $this->default_tag); |
262 | 262 | |
263 | - if (! is_null($key)) { |
|
263 | + if (!is_null($key)) { |
|
264 | 264 | return $this->get($key)->value; |
265 | 265 | } |
266 | 266 | |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | { |
283 | 283 | $key = $this->findItem($name, $this->default_tag); |
284 | 284 | |
285 | - if (! is_null($key)) { |
|
285 | + if (!is_null($key)) { |
|
286 | 286 | $this->get($key)->value = $value; |
287 | 287 | } |
288 | 288 | else { |