chore: Add references to phpdoc deprecation notice for IL10N

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
pull/40633/head
Côme Chilliet 4 months ago
parent b2e9e0fa0d
commit d97567a7fd

@ -1724,7 +1724,7 @@ class Server extends ServerContainer implements IServerContainer {
* @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);

Loading…
Cancel
Save