- Added MethodNotAllowed interface
This commit is contained in:
1 parent
020227abfe
commit
71b9ca68ec
1 file changed
+1
@@ -38,6 +38,7 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
|
|||||||
{
|
{
|
||||||
return $this->getContainer()->has(MethodNotAllowedInterface::class) ? $this->getContainer()->get(MethodNotAllowedInterface::class) : parent::getMethodNotAllowedDecorator($exception);
|
return $this->getContainer()->has(MethodNotAllowedInterface::class) ? $this->getContainer()->get(MethodNotAllowedInterface::class) : parent::getMethodNotAllowedDecorator($exception);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*<<<<<<< HEAD
|
/*<<<<<<< HEAD
|
||||||
/*=======
|
/*=======
|
||||||
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
|
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
|
||||||
|
|||||||
Reference in new issue
Block a user