Skip to content

Commit f12ddc3

Browse files
cklei-carlygithub-actions[bot]
authored andcommitted
Fix styling
1 parent 5e32121 commit f12ddc3

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/Base/Manifests/PermissionManifest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function getTieredPermissionNameForModel(string $ability, string $model,
249249
return implode('.', [$this->getPermissionNameForModel($ability, $model), $id]);
250250
}
251251

252-
public function authorizeModel(UnitEnum|string $ability, string $model, bool $checkExist = true, $id = null): ?bool
252+
public function authorizeModel(UnitEnum | string $ability, string $model, bool $checkExist = true, $id = null): ?bool
253253
{
254254
$ability = $ability instanceof UnitEnum ? $ability->name : $ability;
255255
$modelShortName = class_basename($model);

src/Filament/Concerns/CanAuthorizeResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function canAccess(): bool
3535
return parent::canAccess();
3636
}
3737

38-
public static function getAuthorizationResponse(UnitEnum|string $action, ?Model $record = null): Response
38+
public static function getAuthorizationResponse(UnitEnum | string $action, ?Model $record = null): Response
3939
{
4040
if (! static::skipAccessRightPermissionChecking()) {
4141

src/InspireCmsServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
use SolutionForest\InspireCms\Listeners\Content\ProcessContentVersion;
6262
use SolutionForest\InspireCms\Listeners\Content\UnpubilshChildren;
6363
use SolutionForest\InspireCms\Listeners\UserAuthActivityListener;
64-
6564
use SolutionForest\InspireCms\Models\Contracts\User;
6665
use SolutionForest\InspireCms\Models\Field;
6766
use SolutionForest\InspireCms\Models\FieldGroup;

0 commit comments

Comments
 (0)