chore(*): cleanup and formatting

This commit is contained in:
Cory Dransfeldt 2025-05-18 13:24:16 -07:00
parent 4f72f68f68
commit 09e820e842
No known key found for this signature in database
33 changed files with 184 additions and 196 deletions

View file

@ -8,8 +8,6 @@ abstract class ApiHandler extends BaseHandler
{
protected function ensureCliAccess(): void
{
if (php_sapi_name() !== 'cli' && $_SERVER['REQUEST_METHOD'] !== 'POST') {
$this->sendErrorResponse("Not Found", 404);
}
if (php_sapi_name() !== 'cli' && $_SERVER['REQUEST_METHOD'] !== 'POST') $this->sendErrorResponse("Not Found", 404);
}
}