diff --git a/system/engine/controller.php b/system/engine/controller.php index c344f35..1be3b56 100644 --- a/system/engine/controller.php +++ b/system/engine/controller.php @@ -91,10 +91,14 @@ abstract class Controller { public $routeOrig; /** + * Implements constructor. + * + * If you use this, don't forget the parent::__construct($registry); + * * @param \Phacil\Framework\Registry $registry * @return void */ - public function __construct($registry) { + public function __construct(\Phacil\Framework\Registry $registry) { $this->registry = $registry; }