Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Util/StringTranslatingTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ protected function __(string $string, array $args = array(), $context = null): s
* @since [*next-version*]
*
* @param string $string The string to translate.
* @param string $context The context to translate the string in.
* @param ?string $context The context to translate the string in.
*
* @return string The translated string.
* phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
*/
protected function _translate(string $string, string $context = null): string
protected function _translate(string $string, ?string $context = null): string
{
return $string;
}
Expand Down
Loading