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 71b184d commit 930eaddCopy full SHA for 930eadd
src/Concerns/Isolatable.php
@@ -25,11 +25,7 @@ protected function isolatedStatusCode(): int
25
26
protected function getIsolateOption(): bool|int
27
{
28
- if ($code = $this->option(Options::ISOLATED)) {
29
- return intval($code);
30
- }
31
-
32
- return false;
+ return $this->hasIsolateOption() ? (int) $this->option(Options::ISOLATED) : false;
33
}
34
35
protected function hasIsolateOption(): bool
0 commit comments