The dispatcher will throw the following exception when you pass a null value for the module parameter in route but when you pass an empty string it works fine.
Phalcon\Dispatcher\AbstractDispatcher::setModuleName(): Passing null to parameter #1 ($moduleName) of type string is deprecated
Hello,
The dispatcher will throw the following exception when you pass a null value for the module parameter in route but when you pass an empty string it works fine.
Phalcon\Dispatcher\AbstractDispatcher::setModuleName(): Passing null to parameter #1 ($moduleName) of type string is deprecated
$router->add( '/session', [ 'module' => null, 'controller' => 'session', 'action' => 'index' ] );