aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Command
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Command')
-rw-r--r--lib/private/Command/AsyncBus.php10
-rw-r--r--lib/private/Command/QueueBus.php10
2 files changed, 0 insertions, 20 deletions
diff --git a/lib/private/Command/AsyncBus.php b/lib/private/Command/AsyncBus.php
index fb7860c9dd8..11d78ad7a09 100644
--- a/lib/private/Command/AsyncBus.php
+++ b/lib/private/Command/AsyncBus.php
@@ -21,11 +21,6 @@ abstract class AsyncBus implements IBus {
*/
private $syncTraits = [];
- /**
- * Schedule a command to be fired
- *
- * @param \OCP\Command\ICommand | callable $command
- */
public function push($command) {
if ($this->canRunAsync($command)) {
$this->queueCommand($command);
@@ -41,11 +36,6 @@ abstract class AsyncBus implements IBus {
*/
abstract protected function queueCommand($command);
- /**
- * Require all commands using a trait to be run synchronous
- *
- * @param string $trait
- */
public function requireSync($trait) {
$this->syncTraits[] = trim($trait, '\\');
}
diff --git a/lib/private/Command/QueueBus.php b/lib/private/Command/QueueBus.php
index ed7d43b38b6..02d986430a5 100644
--- a/lib/private/Command/QueueBus.php
+++ b/lib/private/Command/QueueBus.php
@@ -16,20 +16,10 @@ class QueueBus implements IBus {
*/
private $queue = [];
- /**
- * Schedule a command to be fired
- *
- * @param \OCP\Command\ICommand | callable $command
- */
public function push($command) {
$this->queue[] = $command;
}
- /**
- * Require all commands using a trait to be run synchronous
- *
- * @param string $trait
- */
public function requireSync($trait) {
}