From f95cb27643623b2914c3f3958481f2a7131d3630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Wed, 30 May 2018 22:34:54 +0200 Subject: [PATCH] [ticket/15553] Add return annotation to get_link PHPBB3-15553 --- phpBB/phpbb/storage/adapter/adapter_interface.php | 3 +++ phpBB/phpbb/storage/storage.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/phpBB/phpbb/storage/adapter/adapter_interface.php b/phpBB/phpbb/storage/adapter/adapter_interface.php index 39ef789717..d57c2ba587 100644 --- a/phpBB/phpbb/storage/adapter/adapter_interface.php +++ b/phpBB/phpbb/storage/adapter/adapter_interface.php @@ -90,6 +90,9 @@ interface adapter_interface * Get direct link. * * @param string $path The file + * + * @return string Returns link. + * */ public function get_link($path); } diff --git a/phpBB/phpbb/storage/storage.php b/phpBB/phpbb/storage/storage.php index aa596da62e..862b039c6a 100644 --- a/phpBB/phpbb/storage/storage.php +++ b/phpBB/phpbb/storage/storage.php @@ -221,6 +221,9 @@ class storage * Get direct link * * @param string $path The file + * + * @return string Returns link. + * */ public function get_link($path) {