added name parameter to error_reporting;

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-01-23 15:24:12 +01:00
parent 504992bf21
commit eb56d78a9e
1 changed files with 1 additions and 2 deletions

View File

@ -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');