Quick fix for strict warning over an incorrect argument

- in adminCrudComponent
pull/64/merge
iglocska 2013-05-23 11:33:36 +02:00
parent 512c74e7bd
commit 5ca8ff9571
1 changed files with 4 additions and 4 deletions

View File

@ -89,11 +89,11 @@ class AdminCrudComponent extends AuthComponent {
public $controller;
public function initialize(&$controller) {
$this->controller = &$controller;
public function initialize(Controller $controller) {
$this->controller = $controller;
}
public function startup(&$controller) {
$this->controller = &$controller;
public function startup(Controller $controller) {
$this->controller = $controller;
}
}