Sfoglia il codice sorgente

fix: 🐛 Fix Type Error at serverUpdate return phpdoc

IceToast 2 anni fa
parent
commit
a9373cc18f
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/Classes/Pterodactyl.php

+ 2 - 2
app/Classes/Pterodactyl.php

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