@@ -554,10 +554,10 @@ public function getDebugInfo(): string
554554
555555 /**
556556 * Get the script error code.
557- * @return int |null The value of the error code.
557+ * @return string |null The value of the error code.
558558 * If any script wasn't called, it returns null.
559559 */
560- public function getScriptError (): int |null
560+ public function getScriptError (): string |null
561561 {
562562 return $ this ->restAPI ->scriptError ;
563563 }
@@ -574,10 +574,10 @@ public function getScriptResult(): string|null
574574
575575 /**
576576 * Get the prerequest script error code.
577- * @return int |null The value of the error code.
577+ * @return string |null The value of the error code.
578578 * If any script wasn't called, it returns null.
579579 */
580- public function getScriptErrorPrerequest (): int |null
580+ public function getScriptErrorPrerequest (): string |null
581581 {
582582 return $ this ->restAPI ->scriptErrorPrerequest ;
583583 }
@@ -594,10 +594,10 @@ public function getScriptResultPrerequest(): string|null
594594
595595 /**
596596 * Get the presort script error code.
597- * @return int |null The value of the error code.
597+ * @return string |null The value of the error code.
598598 * If any script wasn't called, it returns null.
599599 */
600- public function getScriptErrorPresort (): int |null
600+ public function getScriptErrorPresort (): string |null
601601 {
602602 return $ this ->restAPI ->scriptErrorPresort ;
603603 }
0 commit comments