We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc9159 commit 5e0ed05Copy full SHA for 5e0ed05
src/Contracts/Volitional.php
@@ -5,7 +5,8 @@
5
use Illuminate\Database\Eloquent\Collection;
6
use Squarebit\Volition\Models\Rule;
7
8
-interface Volitional {
+interface Volitional
9
+{
10
public static function resetRulesCache(): void;
11
12
public function allRules(): Collection;
src/Traits/HasVolition.php
@@ -52,9 +52,9 @@ public function actions(string|Rule|null $forRule = null): Collection
52
53
return new Collection(
54
$actions
55
- ?->filter(fn (Action $action): bool => $action->enabled)
56
- ->pluck('payload')
57
- ->unique() ?? []
+ ?->filter(fn (Action $action): bool => $action->enabled)
+ ->pluck('payload')
+ ->unique() ?? []
58
);
59
}
60
0 commit comments