Skip to content

Commit 2e3f05a

Browse files
return null from __call when $name !== 'v'
1 parent 53d8248 commit 2e3f05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/ConfigValueWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __toString(): string
5252
public function __call(string $name, array $arguments): mixed
5353
{
5454
if ($name !== self::V) {
55-
return;
55+
return null;
5656
}
5757

5858
return $this->value();

0 commit comments

Comments
 (0)