- Rebased
This commit is contained in:
parent
e6a41fbfab
commit
6cb5e7bba8
@ -33,12 +33,11 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
|
||||
{
|
||||
return $this->getContainer()->get(ThrowableHandlerInterface::class);
|
||||
}
|
||||
|
||||
|
||||
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
|
||||
{
|
||||
return $this->getContainer()->has(MethodNotAllowedInterface::class) ? $this->getContainer()->get(MethodNotAllowedInterface::class) : parent::getMethodNotAllowedDecorator($exception);
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
|
||||
/*<<<<<<< HEAD
|
||||
/*=======
|
||||
@ -68,10 +67,8 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
|
||||
return $this->di->get('error.404');
|
||||
}
|
||||
};
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
}
|
||||
|
||||
>>>>>>> af8b686 (- WIP on ulmus-user mechanics updates)*/
|
||||
=======
|
||||
>>>>>>> 06c4f46 (- Added MethodNotAllowed interface)
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user