Skip to content

Commit

Permalink
Fix implicitly nullable parameter type deprecation on PHP 8.4 (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpesari authored Jan 13, 2025
1 parent 5451d1f commit 3e3d35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/FaultInjectionResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function getResource(array $injectFaults)
return fopen(self::NAME . '://foobar', 'rw+', false, self::createStreamContext($injectFaults));
}

public function stream_open(string $path, string $mode, int $options, string &$opened_path = null): bool
public function stream_open(string $path, string $mode, int $options, ?string &$opened_path = null): bool
{
$options = stream_context_get_options($this->context);

Expand Down

0 comments on commit 3e3d35c

Please sign in to comment.