浏览代码

fix: 🐛 Fix Type Error at serverUpdate return phpdoc

IceToast 2 年之前
父节点
当前提交
a9373cc18f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Classes/Pterodactyl.php

+ 2 - 2
app/Classes/Pterodactyl.php

@@ -312,7 +312,7 @@ class Pterodactyl
      * Update Server Resources
      * @param Server $server
      * @param Product $product
-     * @return boolean
+     * @return Response
      */
     public static function updateServer(Server $server, Product $product)
     {
@@ -335,7 +335,7 @@ class Pterodactyl
      * Power Action Specific Server
      * @param Server $server
      * @param string $action
-     * @return boolean
+     * @return Response
      */
     public static function powerAction(Server $server, $action)
     {