mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 06:28:40 +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
|
* @param string $controller Controller
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return object
|
||||||
*
|
*
|
||||||
* @throws PathException This exception is thrown in case the controller couldn't be found.
|
* @throws PathException This exception is thrown in case the controller couldn't be found.
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private function getController(string $controller) /* : object */
|
private function getController(string $controller) : object
|
||||||
{
|
{
|
||||||
if (!isset($this->controllers[$controller])) {
|
if (!isset($this->controllers[$controller])) {
|
||||||
// If module controller use module manager for initialization
|
// If module controller use module manager for initialization
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user