This commit is contained in:
2025-12-30 21:41:32 +08:00
parent 42f945c195
commit 4c9f33a6dc
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -45,8 +45,6 @@ abstract class AbstractHandler
$middleware = $this->middlewares[$this->offset]; $middleware = $this->middlewares[$this->offset];
$this->offset += 1; $this->offset += 1;
var_dump($this->handler);
return $middleware->process($request, $this); return $middleware->process($request, $this);
} }
+1 -1
View File
@@ -15,8 +15,8 @@ class NotFoundController extends Controller
*/ */
public function fail(): ResponseInterface public function fail(): ResponseInterface
{ {
var_dump($this->request);
if ($this->request->getMethod() == 'OPTIONS') { if ($this->request->getMethod() == 'OPTIONS') {
var_dump($this->response);
return $this->response->html(''); return $this->response->html('');
} else { } else {
return $this->response->withStatus(404, "not found page."); return $this->response->withStatus(404, "not found page.");