Skip to content

Commit

Permalink
chore: Add references to phpdoc deprecation notice for IL10N
Browse files Browse the repository at this point in the history
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
  • Loading branch information
come-nc and nickvergessen committed Feb 5, 2024
1 parent b4a0ea3 commit d5eef63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ public function getL10NFactory() {
* @param string $app appid
* @param string $lang
* @return IL10N
* @deprecated 20.0.0 use DI of IL10N instead, or \OCP\Util::getL10N as a last resort
* @deprecated 20.0.0 use DI of {@see IL10N} or {@see IFactory} instead, or {@see \OCP\Util::getL10N()} as a last resort
*/
public function getL10N($app, $lang = null) {
return $this->get(IFactory::class)->get($app, $lang);
Expand Down

0 comments on commit d5eef63

Please sign in to comment.