Skip to content

Commit a346d81

Browse files
committed
fix: phpstan issues
1 parent 229ca19 commit a346d81

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ return [
8686

8787
// Models that can be used for visibility rules
8888
'visibility_models' => [
89-
\App\Models\Content::class,
90-
\App\Models\User::class,
89+
// \App\Models\Content::class,
9190
// Add any models you want to use in visibility conditions
9291
],
9392
];
@@ -199,9 +198,7 @@ return [
199198

200199
// Models that can be used for visibility rules
201200
'visibility_models' => [
202-
\App\Models\Content::class,
203-
\App\Models\User::class,
204-
\App\Models\Category::class,
201+
// \App\Models\Content::class,
205202
],
206203
];
207204
```

config/backstage/fields.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
// Models that can be used for visibility rules
2626
'visibility_models' => [
27-
\Backstage\Models\Content::class,
28-
\Backstage\Models\Type::class,
29-
// \App\Models\User::class,
27+
// \App\Models\Content::class,
3028
],
3129
];

0 commit comments

Comments
 (0)