Skip to content

Commit

Permalink
Compatible PHP8.2
Browse files Browse the repository at this point in the history
fix #326
  • Loading branch information
sy-records authored and yunwuxin committed Dec 14, 2022
1 parent 00f2e75 commit 022b753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/RpcInterface.php
Expand Up @@ -42,7 +42,7 @@ public function handle()

$result = $gateway->getServices();

$namespace = $file->addNamespace("rpc\\contract\\${name}");
$namespace = $file->addNamespace("rpc\\contract\\{$name}");

$namespace->addUse(Service::class);

Expand Down

0 comments on commit 022b753

Please sign in to comment.