onlinetest 5 年之前
父节点
当前提交
50ae8a5a78
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      app/Libs/Pay/PayFactory.php
  2. 1 1
      app/Modules/Trade/Pay/OrderArousePayFactory.php
  3. 1 1
      app/Modules/Trade/Pay/PayWait.php

+ 1 - 1
app/Libs/Pay/PayFactory.php

@@ -10,7 +10,7 @@ namespace App\Libs\Pay;
  */
  */
 class PayFactory
 class PayFactory
 {
 {
-	public function __callStatic($name, $arguments)
+	public static function __callStatic($name, $arguments)
 	{
 	{
 		$namesapce = "\\App\\Libs\\Pay\\Merchants";
 		$namesapce = "\\App\\Libs\\Pay\\Merchants";
 		$application = $namesapce . "\\" . ucfirst($name);
 		$application = $namesapce . "\\" . ucfirst($name);

+ 1 - 1
app/Modules/Trade/Pay/OrderArousePayFactory.php

@@ -9,7 +9,7 @@ namespace App\Modules\Trade\Pay;
  */
  */
 class OrderArousePayFactory
 class OrderArousePayFactory
 {
 {
-    public function __callStatic($name, $arguments)
+    public static function __callStatic($name, $arguments)
     {
     {
         $name =  ucfirst($name) . 'OrderArousePay';
         $name =  ucfirst($name) . 'OrderArousePay';
         $namesapce = "\\App\\Modules\\Trade\\Pay";
         $namesapce = "\\App\\Modules\\Trade\\Pay";

+ 1 - 1
app/Modules/Trade/Pay/PayWait.php

@@ -23,7 +23,7 @@ class PayWait
      * 
      * 
      *@param array $arguments 第一个参数默认$uid
      *@param array $arguments 第一个参数默认$uid
      */
      */
-    public function __callStatic($name, $arguments)
+    public static function __callStatic($name, $arguments)
     {
     {
         if (!self::$_instatnce) {
         if (!self::$_instatnce) {
             self::$_instatnce = new PayWait($arguments[0]);
             self::$_instatnce = new PayWait($arguments[0]);