Skip to content

Commit 71b184d

Browse files
Update src/Concerns/Isolatable.php
1 parent 5859d92 commit 71b184d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Concerns/Isolatable.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ protected function isolatedStatusCode(): int
2525

2626
protected function getIsolateOption(): bool|int
2727
{
28-
return $this->hasIsolateOption() && $this->option(Options::ISOLATED);
28+
if ($code = $this->option(Options::ISOLATED)) {
29+
return intval($code);
30+
}
31+
32+
return false;
2933
}
3034

3135
protected function hasIsolateOption(): bool

0 commit comments

Comments
 (0)