@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | */ |
106 | 106 | public static function observeSaveAndCascade() |
107 | 107 | { |
108 | - $onSave = function ($model) { |
|
108 | + $onSave = function($model) { |
|
109 | 109 | |
110 | 110 | /* |
111 | 111 | * Remove any keys not present in the collection |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | public static function observeDeleteAndCascade() |
145 | 145 | { |
146 | - $onDelete = function ($model) { |
|
146 | + $onDelete = function($model) { |
|
147 | 147 | foreach ($model->meta as $meta) { |
148 | 148 | $meta->delete(); |
149 | 149 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | */ |
48 | 48 | public function registerTypeRegistry() |
49 | 49 | { |
50 | - $this->app->singleton(TypeRegistry::class, function () { |
|
50 | + $this->app->singleton(TypeRegistry::class, function() { |
|
51 | 51 | $registry = new TypeRegistry; |
52 | 52 | |
53 | 53 | $this->registerDefaultTypes($registry); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | protected function registerClass($class, $instance) |
42 | 42 | { |
43 | - if (! isset($this->registered[$class])) { |
|
43 | + if (!isset($this->registered[$class])) { |
|
44 | 44 | $this->registered[$class] = $instance; |
45 | 45 | |
46 | 46 | return true; |