@@ -53,7 +53,7 @@ use DragonCode\LaravelActions\Action;
5353
5454return new class extends Action
5555{
56- protected $before = false;
56+ protected bool $before = false;
5757
5858 public function __invoke(): void
5959 {
@@ -109,7 +109,7 @@ use DragonCode\LaravelActions\Action;
109109
110110return new class extends Action
111111{
112- protected $once = false;
112+ protected bool $once = false;
113113
114114 public function __invoke(): void
115115 {
@@ -137,8 +137,7 @@ use DragonCode\LaravelActions\Action;
137137
138138return new class extends Action
139139{
140- /** @var string|array|null */
141- protected $environment = 'production';
140+ protected string|array|null $environment = 'production';
142141
143142 public function __invoke(): void
144143 {
@@ -154,8 +153,7 @@ use DragonCode\LaravelActions\Action;
154153
155154return new class extends Action
156155{
157- /** @var string|array|null */
158- protected $environment = ['testing', 'staging'];
156+ protected string|array|null $environment = ['testing', 'staging'];
159157
160158 public function __invoke(): void
161159 {
@@ -177,8 +175,7 @@ use DragonCode\LaravelActions\Action;
177175
178176return new class extends Action
179177{
180- /** @var string|array|null */
181- protected $exceptEnvironment = 'production';
178+ protected string|array|null $exceptEnvironment = 'production';
182179
183180 public function __invoke(): void
184181 {
@@ -194,8 +191,7 @@ use DragonCode\LaravelActions\Action;
194191
195192return new class extends Action
196193{
197- /** @var string|array|null */
198- protected $exceptEnvironment = ['testing', 'staging'];
194+ protected string|array|null $exceptEnvironment = ['testing', 'staging'];
199195
200196 public function __invoke(): void
201197 {
@@ -219,7 +215,7 @@ use DragonCode\LaravelActions\Action;
219215
220216return new class extends Action
221217{
222- protected $transactions = true;
218+ protected bool $transactions = true;
223219
224220 protected $transactionAttempts = 3;
225221
0 commit comments