From 87850105d2030e0b1413951fb59abbec02219a47 Mon Sep 17 00:00:00 2001 From: "Bruno O. Notario" Date: Thu, 22 Jul 2021 15:23:54 -0300 Subject: [PATCH] More phpdoc --- system/engine/controller.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; }