mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
add type hint
This commit is contained in:
parent
55013d86cd
commit
35ce2562c7
|
|
@ -163,13 +163,13 @@ final class Dispatcher
|
|||
*
|
||||
* @param string $controller Controller
|
||||
*
|
||||
* @return mixed
|
||||
* @return object
|
||||
*
|
||||
* @throws PathException This exception is thrown in case the controller couldn't be found.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function getController(string $controller) /* : object */
|
||||
private function getController(string $controller) : object
|
||||
{
|
||||
if (!isset($this->controllers[$controller])) {
|
||||
// If module controller use module manager for initialization
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user