diff --git a/lib/OpenCloud/Queues/Service.php b/lib/OpenCloud/Queues/Service.php index 738e4eec4..506555b4e 100644 --- a/lib/OpenCloud/Queues/Service.php +++ b/lib/OpenCloud/Queues/Service.php @@ -21,6 +21,7 @@ use Guzzle\Http\Exception\BadResponseException; use OpenCloud\Common\Exceptions\InvalidArgumentError; use OpenCloud\Common\Service\CatalogService; +use OpenCloud\Queues\Resource\Queue; use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** @@ -117,7 +118,10 @@ public function getClientId() /** * Create a new Queue. * - * @param $name Name of the new queue + * @param string $name Name of the new queue + * + * @throws InvalidArgumentError + * * @return Queue */ public function createQueue($name)