Skip to content

Commit c3b0c97

Browse files
committed
type fixes
1 parent 51a7960 commit c3b0c97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RobotLoader/RobotLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function __construct()
7272
public function register($prepend = false)
7373
{
7474
$this->loadCache();
75-
spl_autoload_register([$this, 'tryLoad'], true, (bool) $prepend);
75+
spl_autoload_register([$this, 'tryLoad'], true, $prepend);
7676
return $this;
7777
}
7878

@@ -204,7 +204,7 @@ private function refresh()
204204

205205
/**
206206
* Creates an iterator scaning directory for PHP files, subdirectories and 'netterobots.txt' files.
207-
* @return \Iterator
207+
* @return Nette\Utils\Finder
208208
* @throws Nette\IOException if path is not found
209209
*/
210210
private function createFileIterator($dir)

0 commit comments

Comments
 (0)