Merge pull request #21887 from nextcloud/techdebt/deprecate-server-container-query

Deprecate the query mothod on the server container
pull/21899/head
Christoph Wurst 6 years ago committed by GitHub
commit 7224d268e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/private/ServerContainer.php

@ -127,6 +127,9 @@ class ServerContainer extends SimpleContainer {
return parent::has($id);
}
/**
* @deprecated 20.0.0 use \Psr\Container\ContainerInterface::get
*/
public function query(string $name, bool $autoload = true) {
$name = $this->sanitizeName($name);

Loading…
Cancel
Save