From 9aa62b4b44dde27500a0ec6d967f9841cf8edbbc Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sun, 4 Oct 2015 16:57:57 +0200 Subject: [PATCH] Improve method docs of Pico::load404Content() --- lib/Pico.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/Pico.php b/lib/Pico.php index 7221a60..2b1efbc 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -553,10 +553,12 @@ class Pico } /** - * Returns the raw contents of the 404 file if the requested file wasn't found + * Returns the raw contents of the first found 404 file when traversing + * up from the directory the requested file is in * - * @param string $file path to requested (but not existing) file - * @return string raw contents of the 404 file + * @param string $file path to requested (but not existing) file + * @return string raw contents of the 404 file + * @throws RuntimeException thrown when no suitable 404 file is found */ public function load404Content($file) {