@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | |
116 | 116 | $this->repository = $app->make(RepositoryInterface::class); |
117 | 117 | $this->repository->setClass($class); |
118 | - if (! $this->alias) { |
|
118 | + if (!$this->alias) { |
|
119 | 119 | $this->setDefaultAlias(); |
120 | 120 | } |
121 | 121 | } |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | */ |
305 | 305 | public function can($action, Model $model) |
306 | 306 | { |
307 | - if (! $this->checkAccess) { |
|
307 | + if (!$this->checkAccess) { |
|
308 | 308 | return true; |
309 | 309 | } |
310 | 310 | |
@@ -336,7 +336,7 @@ discard block |
||
336 | 336 | */ |
337 | 337 | public function hasCustomControllerClass() |
338 | 338 | { |
339 | - return ! is_null($controller = $this->getControllerClass()) && class_exists($controller); |
|
339 | + return !is_null($controller = $this->getControllerClass()) && class_exists($controller); |
|
340 | 340 | } |
341 | 341 | |
342 | 342 | /** |
@@ -515,7 +515,7 @@ discard block |
||
515 | 515 | $page->setPriority($priority); |
516 | 516 | |
517 | 517 | if ($badge) { |
518 | - if (! ($badge instanceof BadgeInterface)) { |
|
518 | + if (!($badge instanceof BadgeInterface)) { |
|
519 | 519 | $badge = new Badge($badge); |
520 | 520 | } |
521 | 521 | |
@@ -556,7 +556,7 @@ discard block |
||
556 | 556 | */ |
557 | 557 | public function fireEvent($event, $halt = true, Model $model = null, ...$payload) |
558 | 558 | { |
559 | - if (! isset(self::$dispatcher)) { |
|
559 | + if (!isset(self::$dispatcher)) { |
|
560 | 560 | return true; |
561 | 561 | } |
562 | 562 |