Skip to content

Commit 181f732

Browse files
authored
Update Caching.php
Signed-off-by: Mike Bronner <mike@genealabs.com>
1 parent 1d92d9d commit 181f732

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Traits/Caching.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ public function __call($method, $parameters)
3232
) {
3333
$result = $this->innerBuilder->{$method}(...$parameters);
3434

35-
return $result === $this->innerBuilder ? $this : $result;
35+
return $result === $this->innerBuilder
36+
? $this
37+
: $result;
3638
}
3739

3840
$result = parent::__call($method, $parameters);

0 commit comments

Comments
 (0)