Skip to content

Commit b8cd234

Browse files
committed
Add PHPDoc to pass static tests
1 parent f425f55 commit b8cd234

File tree

1 file changed

+9
-0
lines changed
  • setup/src/Magento/Setup/Module/I18n/Parser/Adapter

1 file changed

+9
-0
lines changed

setup/src/Magento/Setup/Module/I18n/Parser/Adapter/Html.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ protected function _parse()
5656
$this->extractPhrases(Js::REGEX_TRANSLATE_FUNCTION, $data, 3, 2);
5757
}
5858

59+
/**
60+
* Extracts all phrases from trans directives in the given string.
61+
*
62+
* @param string $data
63+
*
64+
* @return void
65+
*/
5966
private function extractPhrasesFromTransDirective(string $data): void
6067
{
6168
$results = [];
@@ -77,6 +84,8 @@ private function extractPhrasesFromTransDirective(string $data): void
7784
}
7885

7986
/**
87+
* Extracts all phrases with the given regex in the given string.
88+
*
8089
* @param string $regex
8190
* @param string $data
8291
* @param int $expectedGroupsCount

0 commit comments

Comments
 (0)