Fix typo in @deprecated PHPDoc tag
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
d9e0efbf72
commit
f4c1512bb7
|
@ -2283,7 +2283,7 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
try {
|
||||
/** @var ILogger $logger */
|
||||
$logger = $container->get(ILogger::class);
|
||||
$logger->debug('The requested alias "' . $alias . '" is depreacted. Please request "' . $target . '" directly. This alias will be removed in a future Nextcloud version.', ['app' => 'serverDI']);
|
||||
$logger->debug('The requested alias "' . $alias . '" is deprecated. Please request "' . $target . '" directly. This alias will be removed in a future Nextcloud version.', ['app' => 'serverDI']);
|
||||
} catch (ContainerExceptionInterface $e) {
|
||||
// Could not get logger. Continue
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
|
|||
])
|
||||
->execute();
|
||||
|
||||
/** @depreacted 21.0.0 - use type SubAdminAddedEvent instead */
|
||||
/** @deprecated 21.0.0 - use type SubAdminAddedEvent instead */
|
||||
$this->emit('\OC\SubAdmin', 'postCreateSubAdmin', [$user, $group]);
|
||||
$event = new SubAdminAddedEvent($group, $user);
|
||||
$this->eventDispatcher->dispatchTyped($event);
|
||||
|
@ -112,7 +112,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
|
|||
->andWhere($qb->expr()->eq('uid', $qb->createNamedParameter($user->getUID())))
|
||||
->execute();
|
||||
|
||||
/** @depreacted 21.0.0 - use type SubAdminRemovedEvent instead */
|
||||
/** @deprecated 21.0.0 - use type SubAdminRemovedEvent instead */
|
||||
$this->emit('\OC\SubAdmin', 'postDeleteSubAdmin', [$user, $group]);
|
||||
$event = new SubAdminRemovedEvent($group, $user);
|
||||
$this->eventDispatcher->dispatchTyped($event);
|
||||
|
|
|
@ -55,7 +55,7 @@ class OC_DB {
|
|||
* @param bool|null $isManipulation
|
||||
* @throws \OC\DatabaseException
|
||||
* @return OC_DB_StatementWrapper prepared SQL query
|
||||
* @depreacted 21.0.0 Please use \OCP\IDBConnection::getQueryBuilder() instead
|
||||
* @deprecated 21.0.0 Please use \OCP\IDBConnection::getQueryBuilder() instead
|
||||
*
|
||||
* SQL query via Doctrine prepare(), needs to be execute()'d!
|
||||
*/
|
||||
|
@ -117,7 +117,7 @@ class OC_DB {
|
|||
* @param array $parameters
|
||||
* @return OC_DB_StatementWrapper
|
||||
* @throws \OC\DatabaseException
|
||||
* @depreacted 21.0.0 Please use \OCP\IDBConnection::getQueryBuilder() instead
|
||||
* @deprecated 21.0.0 Please use \OCP\IDBConnection::getQueryBuilder() instead
|
||||
*/
|
||||
public static function executeAudited($stmt, array $parameters = []) {
|
||||
if (is_string($stmt)) {
|
||||
|
|
|
@ -46,7 +46,7 @@ interface IManager {
|
|||
public const MAX_OPERATION_VALUE_BYTES = 4096;
|
||||
|
||||
/**
|
||||
* @depreacted Will be removed in NC19. Use the dedicated events in OCP\WorkflowEngine\Events
|
||||
* @deprecated Will be removed in NC19. Use the dedicated events in OCP\WorkflowEngine\Events
|
||||
*/
|
||||
public const EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations';
|
||||
public const EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities';
|
||||
|
|
Loading…
Reference in New Issue