Merge pull request #24320 from nextcloud/typo/noid/fix-typo-in-deprecated
Fix typo in @deprecated PHPDoc tag
This commit is contained in:
commit
ac42f94269
|
@ -2283,7 +2283,7 @@ class Server extends ServerContainer implements IServerContainer {
|
||||||
try {
|
try {
|
||||||
/** @var ILogger $logger */
|
/** @var ILogger $logger */
|
||||||
$logger = $container->get(ILogger::class);
|
$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) {
|
} catch (ContainerExceptionInterface $e) {
|
||||||
// Could not get logger. Continue
|
// Could not get logger. Continue
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
|
||||||
])
|
])
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
/** @depreacted 21.0.0 - use type SubAdminAddedEvent instead */
|
/** @deprecated 21.0.0 - use type SubAdminAddedEvent instead */
|
||||||
$this->emit('\OC\SubAdmin', 'postCreateSubAdmin', [$user, $group]);
|
$this->emit('\OC\SubAdmin', 'postCreateSubAdmin', [$user, $group]);
|
||||||
$event = new SubAdminAddedEvent($group, $user);
|
$event = new SubAdminAddedEvent($group, $user);
|
||||||
$this->eventDispatcher->dispatchTyped($event);
|
$this->eventDispatcher->dispatchTyped($event);
|
||||||
|
@ -112,7 +112,7 @@ class SubAdmin extends PublicEmitter implements ISubAdmin {
|
||||||
->andWhere($qb->expr()->eq('uid', $qb->createNamedParameter($user->getUID())))
|
->andWhere($qb->expr()->eq('uid', $qb->createNamedParameter($user->getUID())))
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
/** @depreacted 21.0.0 - use type SubAdminRemovedEvent instead */
|
/** @deprecated 21.0.0 - use type SubAdminRemovedEvent instead */
|
||||||
$this->emit('\OC\SubAdmin', 'postDeleteSubAdmin', [$user, $group]);
|
$this->emit('\OC\SubAdmin', 'postDeleteSubAdmin', [$user, $group]);
|
||||||
$event = new SubAdminRemovedEvent($group, $user);
|
$event = new SubAdminRemovedEvent($group, $user);
|
||||||
$this->eventDispatcher->dispatchTyped($event);
|
$this->eventDispatcher->dispatchTyped($event);
|
||||||
|
|
|
@ -55,7 +55,7 @@ class OC_DB {
|
||||||
* @param bool|null $isManipulation
|
* @param bool|null $isManipulation
|
||||||
* @throws \OC\DatabaseException
|
* @throws \OC\DatabaseException
|
||||||
* @return OC_DB_StatementWrapper prepared SQL query
|
* @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!
|
* SQL query via Doctrine prepare(), needs to be execute()'d!
|
||||||
*/
|
*/
|
||||||
|
@ -117,7 +117,7 @@ class OC_DB {
|
||||||
* @param array $parameters
|
* @param array $parameters
|
||||||
* @return OC_DB_StatementWrapper
|
* @return OC_DB_StatementWrapper
|
||||||
* @throws \OC\DatabaseException
|
* @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 = []) {
|
public static function executeAudited($stmt, array $parameters = []) {
|
||||||
if (is_string($stmt)) {
|
if (is_string($stmt)) {
|
||||||
|
|
|
@ -46,7 +46,7 @@ interface IManager {
|
||||||
public const MAX_OPERATION_VALUE_BYTES = 4096;
|
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_OPERATION = 'OCP\WorkflowEngine::registerOperations';
|
||||||
public const EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities';
|
public const EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities';
|
||||||
|
|
Loading…
Reference in New Issue