Skip to content

Commit 49f1ae1

Browse files
authored
Remove PHP 8.4 deprecation notice (#33)
1 parent ddb3e21 commit 49f1ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private function workerError(WorkerInterface $worker, string $message): void
9999
/**
100100
* Serve GRPC over given RoadRunner worker.
101101
*/
102-
public function serve(WorkerInterface $worker = null, callable $finalize = null): void
102+
public function serve(?WorkerInterface $worker = null, ?callable $finalize = null): void
103103
{
104104
$worker ??= Worker::create();
105105

0 commit comments

Comments
 (0)