diff --git a/app/wechat/controller/api/Test.php b/app/wechat/controller/api/Test.php index 5d5b85f58..58750d762 100644 --- a/app/wechat/controller/api/Test.php +++ b/app/wechat/controller/api/Test.php @@ -252,7 +252,7 @@ class Test extends Controller * @throws \Endroid\QrCode\Exceptions\ImageFunctionUnknownException * @throws \Endroid\QrCode\Exceptions\ImageTypeInvalidException */ - protected function showQrc($url) + private function showQrc(string $url) { $qrCode = new \Endroid\QrCode\QrCode(); $qrCode->setText($url)->setSize(300)->setPadding(20)->setImageType('png');