Multiple - service - layer - the normal operation of the model, and found a BUG

Fatal error: Declaration of Modules\Modules\Frontend\Module::registerAutoloaders() must be compatible with Phalcon\Mvc\ModuleDefinitionInterface::registerAutoloaders(Phalcon\DiInterface $dependencyInjector = NULL) in /Volumes/develop/PHP/apps/modules/frontend/Module.php on line 11

I've run straight from the https://github.com/phalcon/mvc/tree/master/multiple-service-layer-model checkout code, an error



64.2k
edited Nov '15

https://github.com/phalcon/mvc/blob/master/multiple-service-layer-model/apps/modules/frontend/Module.php#L14

change it to :

public function registerAutoloaders(\Phalcon\DiInterface $di = NULL)


945

I added, but there is also a problem



64.2k

the same problem ?