@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | array $values |
185 | 185 | ) { |
186 | 186 | foreach ($values as $i => $value) { |
187 | - if (! array_key_exists($value, $this->getOptions()) and $this->isTaggable()) { |
|
187 | + if (!array_key_exists($value, $this->getOptions()) and $this->isTaggable()) { |
|
188 | 188 | $model = clone $this->getModelForOptions(); |
189 | 189 | $model->{$this->getDisplay()} = $value; |
190 | 190 | $model->save(); |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | $items = $relation->get(); |
212 | 212 | |
213 | 213 | foreach ($items as $item) { |
214 | - if (! in_array($item->getKey(), $values)) { |
|
214 | + if (!in_array($item->getKey(), $values)) { |
|
215 | 215 | if ($this->isDeleteRelatedItem()) { |
216 | 216 | $item->delete(); |
217 | 217 | } else { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | $item = $model->find($value); |
237 | 237 | |
238 | 238 | if (is_null($item)) { |
239 | - if (! $this->isTaggable()) { |
|
239 | + if (!$this->isTaggable()) { |
|
240 | 240 | continue; |
241 | 241 | } |
242 | 242 |
@@ -36,11 +36,11 @@ |
||
36 | 36 | */ |
37 | 37 | public function canShow() |
38 | 38 | { |
39 | - if (is_null($this->getModel()->getKey()) || ! $this->show) { |
|
39 | + if (is_null($this->getModel()->getKey()) || !$this->show) { |
|
40 | 40 | return false; |
41 | 41 | } |
42 | 42 | |
43 | - $this->show = ! $this->isTrashed() && $this->getModelConfiguration()->isDeletable($this->getModel()); |
|
43 | + $this->show = !$this->isTrashed() && $this->getModelConfiguration()->isDeletable($this->getModel()); |
|
44 | 44 | parent::canShow(); |
45 | 45 | } |
46 | 46 | } |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function canShow() |
38 | 38 | { |
39 | - if (is_null($this->getModel()->getKey()) || ! $this->show) { |
|
39 | + if (is_null($this->getModel()->getKey()) || !$this->show) { |
|
40 | 40 | return false; |
41 | 41 | } |
42 | 42 |
@@ -36,7 +36,7 @@ |
||
36 | 36 | */ |
37 | 37 | public function canShow() |
38 | 38 | { |
39 | - if (is_null($this->getModel()->getKey()) || ! $this->show) { |
|
39 | + if (is_null($this->getModel()->getKey()) || !$this->show) { |
|
40 | 40 | return false; |
41 | 41 | } |
42 | 42 |