From 90ec02731db60689a8d3b26c249acb8a19f06b2d Mon Sep 17 00:00:00 2001 From: KyleKatarn Date: Fri, 23 Mar 2018 18:34:44 +0100 Subject: [PATCH] Add missing throw annotation --- src/Phug/Renderer/Adapter/FileAdapter.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Phug/Renderer/Adapter/FileAdapter.php b/src/Phug/Renderer/Adapter/FileAdapter.php index 0735ecf..f61140b 100644 --- a/src/Phug/Renderer/Adapter/FileAdapter.php +++ b/src/Phug/Renderer/Adapter/FileAdapter.php @@ -141,7 +141,9 @@ public function cacheFileIfChanged($path) /** * Scan a directory recursively, compile them and save them into the cache directory. * - * @param string $directory the directory to search in pug templates + * @param string $directory the directory to search in pug + * + * @throws \Phug\RendererException * * @return array count of cached files and error count */