From fc6fbade32e7d7cefeeafa465aa4716d85d4f4ad Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Tue, 14 May 2013 11:00:36 +0200 Subject: [PATCH] fix doc of CacheManager::resolve to not lie --- Imagine/Cache/CacheManager.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Imagine/Cache/CacheManager.php b/Imagine/Cache/CacheManager.php index f70a9d10d..81b54926a 100644 --- a/Imagine/Cache/CacheManager.php +++ b/Imagine/Cache/CacheManager.php @@ -162,7 +162,10 @@ public function generateUrl($path, $filter, $absolute = false) * @param string $path * @param string $filter * - * @return string target path + * @return string|boolean|Response target path or false if filter has no + * resolver or a Response object from the resolver + * + * @throws NotFoundHttpException if the path can not be resolved */ public function resolve(Request $request, $path, $filter) {