Skip to content

Commit 95af2c4

Browse files
committed
up
1 parent 6458a2d commit 95af2c4

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
"illuminate/contracts": "^10.0||^11.0||^12.0"
2222
},
2323
"require-dev": {
24-
"laravel/pint": "^1.0",
25-
"nunomaduro/collision": "^8.1",
26-
"larastan/larastan": "^3.0.0",
27-
"orchestra/testbench": "^9.0",
24+
"laravel/pint": "^1.14",
25+
"nunomaduro/collision": "^8.1.1",
26+
"larastan/larastan": "^3.0",
27+
"orchestra/testbench": "^9.0.0||^10.0.0",
2828
"pestphp/pest": "^3.0",
2929
"pestphp/pest-plugin-arch": "^3.0",
3030
"pestphp/pest-plugin-laravel": "^3.0",
31-
"phpstan/extension-installer": "^1.4",
32-
"phpstan/phpstan-deprecation-rules": "^2.0",
33-
"phpstan/phpstan-phpunit": "^2.0"
31+
"phpstan/extension-installer": "^1.3||^2.0",
32+
"phpstan/phpstan-deprecation-rules": "^1.1||^2.0",
33+
"phpstan/phpstan-phpunit": "^1.3||^2.0"
3434
},
3535
"autoload": {
3636
"psr-4": {

src/WorkflowStep.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ public function after(
9191
is_string($delay)
9292
) {
9393
$this->when(
94-
fn () => (bool) $this
95-
->workflow
94+
fn () => (bool) $this->workflow
9695
->getItem($delay)
9796
?->isFinished()
9897
);
@@ -103,10 +102,10 @@ public function after(
103102
$delay instanceof CarbonInterval
104103
) {
105104
$this->when(
106-
fn () => (bool) $this
107-
->workflow
105+
fn () => (bool) $this->workflow
108106
->getItem($step)
109107
?->finished_at
108+
?->clone()
110109
?->add($delay)
111110
?->isPast()
112111
);

0 commit comments

Comments
 (0)