From 31f689fdc71ae6c02151336a7d48daa9ae77f9b8 Mon Sep 17 00:00:00 2001 From: Denis Ryabov Date: Mon, 8 Jan 2024 13:31:49 +0400 Subject: [PATCH] Add missed phpDoc for JEDCheckerHelper::resolveAliases method --- .../components/com_jedchecker/libraries/helper.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/administrator/components/com_jedchecker/libraries/helper.php b/administrator/components/com_jedchecker/libraries/helper.php index 7f117f8..ff7fa7e 100644 --- a/administrator/components/com_jedchecker/libraries/helper.php +++ b/administrator/components/com_jedchecker/libraries/helper.php @@ -400,6 +400,14 @@ abstract class JEDCheckerHelper return str_repeat("\n", substr_count($content, "\n")); } + /** + * Resolve all aliases in the PHP file + * + * @param string $content + * + * @return string + * @since 2.4.4 + */ public static function resolveAliases($content) { if (preg_match_all('/\buse\s+([\\\\\w]+)(?:\s+as\s+(\w+))?\s*;/i', $content, $matches, PREG_SET_ORDER)) {