From 3ebb51a55eaefcde2424d643b46a47a7d423a7d5 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sat, 1 Oct 2016 19:01:21 +0200 Subject: [PATCH] Improve class docs Follow-up to 00603f6 --- lib/Pico.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Pico.php b/lib/Pico.php index 034c294..56587bd 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -819,10 +819,11 @@ class Pico * Returns the raw contents of the first found 404 file when traversing * 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() * @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) {