File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Safemood \Workflow \Traits ;
4
4
5
- use Illuminate \Contracts \Queue \ShouldQueue ;
6
5
use Safemood \Workflow \Action ;
7
6
8
7
trait ActionsTrait
@@ -13,7 +12,7 @@ trait ActionsTrait
13
12
14
13
protected $ afterActions = [];
15
14
16
- public function addBeforeAction (Action | ShouldQueue $ action )
15
+ public function addBeforeAction (Action $ action )
17
16
{
18
17
$ this ->beforeActions [] = $ action ;
19
18
@@ -29,7 +28,7 @@ public function addBeforeActions(array $actions)
29
28
return $ this ;
30
29
}
31
30
32
- public function addMainAction (Action | ShouldQueue $ action )
31
+ public function addMainAction (Action $ action )
33
32
{
34
33
$ this ->mainActions [] = $ action ;
35
34
@@ -45,7 +44,7 @@ public function addMainActions(array $actions)
45
44
return $ this ;
46
45
}
47
46
48
- public function addAfterAction (Action | ShouldQueue $ action )
47
+ public function addAfterAction (Action $ action )
49
48
{
50
49
$ this ->afterActions [] = $ action ;
51
50
You can’t perform that action at this time.
0 commit comments