Improve class docs

Follow-up to 00603f6
pico-3.0-alpha
Daniel Rudolf 9 years ago
parent 00603f61fc
commit 3ebb51a55e
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
  1. 3
      lib/Pico.php

@ -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…
Cancel
Save