Skip to content

Commit

Permalink
RobotLoader: fix strict interface warning
Browse files Browse the repository at this point in the history
  • Loading branch information
VasekPurchart committed Apr 6, 2012
1 parent 07d1bf4 commit 4762016
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Nette/Loaders/RobotLoader.php
Expand Up @@ -71,12 +71,13 @@ public function __construct()

/**
* Register autoloader.
* @param bool prepend autoloader?
* @return RobotLoader provides a fluent interface
*/
public function register()
public function register(/**/$prepend = FALSE/**/)
{
$this->list = $this->getCache()->load($this->getKey(), callback($this, '_rebuildCallback'));
parent::register();
parent::register(/**/$prepend/**/);
return $this;
}

Expand Down

0 comments on commit 4762016

Please sign in to comment.