diff --git a/bindAPI/src/Controller/BindAPI.php b/bindAPI/src/Controller/BindAPI.php index 06a01d3..9e3f086 100755 --- a/bindAPI/src/Controller/BindAPI.php +++ b/bindAPI/src/Controller/BindAPI.php @@ -8,7 +8,7 @@ define('COLOR_YELLOW', "\033[33m"); define('COLOR_DEFAULT', "\033[39m"); // TODO add to all Controllers -error_reporting(E_ALL); +error_reporting(error_level: E_ALL); // 61e6ce5dd8a1b.bc1c314ce364f6878084c254fe4c6345801c43a49bb8eb71 @@ -50,7 +50,6 @@ class BindAPI */ public function checkPing(bool|array $panel): Bool { - // TODO nicer format: select max(length(name)) from panels; $maxName = $this->panelController->getLongestEntry(field: 'name'); $maxA = $this->panelController->getLongestEntry(field: 'a'); $maxAAAA = $this->panelController->getLongestEntry(field: 'aaaa');