Improve class docs
Follow-up to 00603f6
This commit is contained in:
parent
00603f61fc
commit
3ebb51a55e
@ -819,10 +819,11 @@ class Pico
|
|||||||
* Returns the raw contents of the first found 404 file when traversing
|
* Returns the raw contents of the first found 404 file when traversing
|
||||||
* up from the directory the requested file is in
|
* up from the directory the requested file is in
|
||||||
*
|
*
|
||||||
|
* If no suitable `404.md` is found, fallback to a built-in error message.
|
||||||
|
*
|
||||||
* @see Pico::getRawContent()
|
* @see Pico::getRawContent()
|
||||||
* @param string $file path to requested (but not existing) file
|
* @param string $file path to requested (but not existing) file
|
||||||
* @return string raw contents of the 404 file
|
* @return string raw contents of the 404 file
|
||||||
* @throws RuntimeException thrown when no suitable 404 file is found
|
|
||||||
*/
|
*/
|
||||||
public function load404Content($file)
|
public function load404Content($file)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user