@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | public function detectScope(string $model) |
| 171 | 171 | { |
| 172 | 172 | return $this->config->get( |
| 173 | - 'mapping.' . $model, |
|
| 173 | + 'mapping.'.$model, |
|
| 174 | 174 | $this->config->get('mapping_default') |
| 175 | 175 | ); |
| 176 | 176 | } |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | */ |
| 227 | 227 | public function getPermission(Permitable $subject, string $scope, bool $checkScope = true) |
| 228 | 228 | { |
| 229 | - if($checkScope) { |
|
| 229 | + if ($checkScope) { |
|
| 230 | 230 | $this->checkScope($scope); |
| 231 | 231 | } |
| 232 | 232 | |