We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5859d92 commit 71b184dCopy full SHA for 71b184d
src/Concerns/Isolatable.php
@@ -25,7 +25,11 @@ protected function isolatedStatusCode(): int
25
26
protected function getIsolateOption(): bool|int
27
{
28
- return $this->hasIsolateOption() && $this->option(Options::ISOLATED);
+ if ($code = $this->option(Options::ISOLATED)) {
29
+ return intval($code);
30
+ }
31
+
32
+ return false;
33
}
34
35
protected function hasIsolateOption(): bool
0 commit comments