- Rebased
This commit is contained in:
1 parent
e6a41fbfab
commit
6cb5e7bba8
1 file changed
+2
-5
@@ -33,12 +33,11 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
|
|||||||
{
|
{
|
||||||
return $this->getContainer()->get(ThrowableHandlerInterface::class);
|
return $this->getContainer()->get(ThrowableHandlerInterface::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
|
public function getMethodNotAllowedDecorator(MethodNotAllowedException $exception): MiddlewareInterface
|
||||||
{
|
{
|
||||||
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
|
/*<<<<<<< HEAD
|
||||||
/*=======
|
/*=======
|
||||||
@@ -68,10 +67,8 @@ class ApplicationStrategy extends Strategy\ApplicationStrategy {
|
|||||||
return $this->di->get('error.404');
|
return $this->di->get('error.404');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> af8b686 (- WIP on ulmus-user mechanics updates)*/
|
>>>>>>> af8b686 (- WIP on ulmus-user mechanics updates)*/
|
||||||
=======
|
|
||||||
>>>>>>> 06c4f46 (- Added MethodNotAllowed interface)
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user