Browse Source

Updated docblock and changed return type for Controller::constructClasses()

ADmad 12 years ago
parent
commit
282c6e06c5
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/Controller/Controller.php

+ 1 - 6
src/Controller/Controller.php

@@ -449,18 +449,13 @@ class Controller extends Object implements EventListener {
  * and components have their callbacks attached to the EventManager.
  * It is also at this time that Controller callbacks are bound.
  *
- * See Controller::repository(); for more information on how models are loaded.
- *
- * @return mixed true if models found and instance created.
- * @see Controller::repository()
+ * @return void
  * @link http://book.cakephp.org/2.0/en/controllers.html#Controller::constructClasses
- * @throws MissingModelException
  */
 	public function constructClasses() {
 		$this->_mergeControllerVars();
 		$this->_loadComponents();
 		$this->getEventManager()->attach($this);
-		return true;
 	}
 
 /**