Skip to content

Commit d8a1565

Browse files
committed
docs: make doc comments more specific
1 parent 9dab01a commit d8a1565

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

system/Autoloader/FileLocator.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ public function __construct(Autoloader $autoloader)
3333
* Attempts to locate a file by examining the name for a namespace
3434
* and looking through the PSR-4 namespaced files that we know about.
3535
*
36-
* @param string $file The namespaced file to locate
37-
* @param string|null $folder The folder within the namespace that we should look for the file.
36+
* @param string $file The relative file path or namespaced file to
37+
* locate. If not namespaced, search in the app
38+
* folder.
39+
* @param string|null $folder The folder within the namespace that we should
40+
* look for the file. If $file does not contain
41+
* this value, it will be appended to the namespace
42+
* folder.
3843
* @param string $ext The file extension the file should have.
3944
*
4045
* @return false|string The path to the file, or false if not found.

0 commit comments

Comments
 (0)