@@ -113,7 +113,7 @@ |
||
| 113 | 113 | * |
| 114 | 114 | * @return TaggedCache |
| 115 | 115 | */ |
| 116 | - public function getTaggedStore(?array $tags = null): TaggedCache |
|
| 116 | + public function getTaggedStore(? array $tags = null) : TaggedCache |
|
| 117 | 117 | { |
| 118 | 118 | if ($tags !== null) { |
| 119 | 119 | return $this->store->tags($tags); |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function register() |
| 33 | 33 | { |
| 34 | - $this->app->singleton('codefocus.managedcache', function () { |
|
| 34 | + $this->app->singleton('codefocus.managedcache', function() { |
|
| 35 | 35 | return $this->managedcache; |
| 36 | 36 | }); |
| 37 | 37 | } |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | * |
| 132 | 132 | * @return Condition |
| 133 | 133 | */ |
| 134 | - public function relationAttached($model, ?int $modelId = null, $relatedModel = null, ?int $relatedModelId = null): Condition |
|
| 134 | + public function relationAttached($model, ?int $modelId = null, $relatedModel = null, ?int $relatedModelId = null) : Condition |
|
| 135 | 135 | { |
| 136 | 136 | if ($this->isModel($model)) { |
| 137 | 137 | $modelClassName = get_class($model); |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | * |
| 167 | 167 | * @return Condition |
| 168 | 168 | */ |
| 169 | - public function relationDetached($model, ?int $modelId = null, $relatedModel = null, ?int $relatedModelId = null): Condition |
|
| 169 | + public function relationDetached($model, ?int $modelId = null, $relatedModel = null, ?int $relatedModelId = null) : Condition |
|
| 170 | 170 | { |
| 171 | 171 | if ($this->isModel($model)) { |
| 172 | 172 | $modelClassName = get_class($model); |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | * |
| 202 | 202 | * @return Condition |
| 203 | 203 | */ |
| 204 | - public function relationUpdated($model, ?int $modelId = null, $relatedModel = null, ?int $relatedModelId = null): Condition |
|
| 204 | + public function relationUpdated($model, ?int $modelId = null, $relatedModel = null, ?int $relatedModelId = null) : Condition |
|
| 205 | 205 | { |
| 206 | 206 | if ($this->isModel($model)) { |
| 207 | 207 | $modelClassName = get_class($model); |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * |
| 46 | 46 | * @return self |
| 47 | 47 | */ |
| 48 | - public function modelUpdated($model, ?int $modelId = null): self |
|
| 48 | + public function modelUpdated($model, ?int $modelId = null) : self |
|
| 49 | 49 | { |
| 50 | 50 | if ($this->isModel($model)) { |
| 51 | 51 | $modelClassName = get_class($model); |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * |
| 73 | 73 | * @return self |
| 74 | 74 | */ |
| 75 | - public function modelSaved($model, ?int $modelId = null): self |
|
| 75 | + public function modelSaved($model, ?int $modelId = null) : self |
|
| 76 | 76 | { |
| 77 | 77 | if ($this->isModel($model)) { |
| 78 | 78 | $modelClassName = get_class($model); |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * |
| 100 | 100 | * @return self |
| 101 | 101 | */ |
| 102 | - public function modelDeleted($model, ?int $modelId = null): self |
|
| 102 | + public function modelDeleted($model, ?int $modelId = null) : self |
|
| 103 | 103 | { |
| 104 | 104 | if ($this->isModel($model)) { |
| 105 | 105 | $modelClassName = get_class($model); |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * |
| 127 | 127 | * @return self |
| 128 | 128 | */ |
| 129 | - public function modelRestored($model, ?int $modelId = null): self |
|
| 129 | + public function modelRestored($model, ?int $modelId = null) : self |
|
| 130 | 130 | { |
| 131 | 131 | if ($this->isModel($model)) { |
| 132 | 132 | $modelClassName = get_class($model); |