From 97257d4e9a8b1cdd311933de6d301f9350f80de7 Mon Sep 17 00:00:00 2001 From: Reedy Date: Sat, 7 Apr 2012 21:51:53 +0100 Subject: [PATCH] wfLocalFile returns a LocalFile (or null) not a File Change-Id: Ib016f16c1b5528d9f6af4189ca8459cacb54cf10 --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 517f70dfeb..7237b536ea 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3603,7 +3603,7 @@ function wfFindFile( $title, $options = array() ) { * Returns a valid placeholder object if the file does not exist. * * @param $title Title|String - * @return File|null A File, or null if passed an invalid Title + * @return LocalFile|null A File, or null if passed an invalid Title */ function wfLocalFile( $title ) { return RepoGroup::singleton()->getLocalRepo()->newFile( $title ); -- 2.20.1