Skip to content

Commit 577fd8a

Browse files
Merge pull request #140 from taqie/main
Fixed bug when use isolate option
2 parents ef41ae5 + 930eadd commit 577fd8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concerns/Isolatable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function isolatedStatusCode(): int
2525

2626
protected function getIsolateOption(): bool|int
2727
{
28-
return $this->hasIsolateOption() ? $this->option(Options::ISOLATED) : false;
28+
return $this->hasIsolateOption() ? (int) $this->option(Options::ISOLATED) : false;
2929
}
3030

3131
protected function hasIsolateOption(): bool

0 commit comments

Comments
 (0)