From 7fc7a88fc8cff459ecde62970faf1da34ecf78a2 Mon Sep 17 00:00:00 2001 From: Philipp Scheit Date: Sat, 6 Aug 2022 06:37:33 +0200 Subject: [PATCH] Fix return type for creators --- src/php/Webforge/Common/System/File.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/php/Webforge/Common/System/File.php b/src/php/Webforge/Common/System/File.php index 2555381..7299039 100644 --- a/src/php/Webforge/Common/System/File.php +++ b/src/php/Webforge/Common/System/File.php @@ -71,7 +71,7 @@ public function __construct($arg1, $arg2 = null) /** * Creates a temporary File in the system temp directory * - * @return Webforge\Common\System\File + * @return self */ public static function createTemporary($extension = null) { @@ -87,7 +87,7 @@ public static function createTemporary($extension = null) /** * Creates the file from a relative URL in relation to $base * - * @return Webforge\Common\System\File + * @return self */ public static function createFromURL($url, Dir $base = null) { @@ -139,7 +139,7 @@ protected function constructDefault($filename, Dir $directory=null) } /** - * @return Webforge\Common\System\File + * @return self */ public static function factory($arg1, $arg2 = null) {