@@ -20,8 +20,6 @@ class Service extends AbstractService
2020 * You must have enough volume storage quota remaining to create a volume of size requested.
2121 *
2222 * @param array $userOptions {@see Api::postVolumes}
23- *
24- * @return Volume
2523 */
2624 public function createVolume (array $ userOptions ): Volume
2725 {
@@ -33,8 +31,6 @@ public function createVolume(array $userOptions): Volume
3331 *
3432 * @param bool $detail if set to TRUE, more information will be returned
3533 * @param array $userOptions {@see Api::getVolumes}
36- *
37- * @return \Generator
3834 */
3935 public function listVolumes (bool $ detail = false , array $ userOptions = []): \Generator
4036 {
@@ -45,8 +41,6 @@ public function listVolumes(bool $detail = false, array $userOptions = []): \Gen
4541
4642 /**
4743 * @param string $volumeId the UUID of the volume being retrieved
48- *
49- * @return Volume
5044 */
5145 public function getVolume (string $ volumeId ): Volume
5246 {
@@ -58,27 +52,17 @@ public function getVolume(string $volumeId): Volume
5852
5953 /**
6054 * @param array $userOptions {@see Api::postTypes}
61- *
62- * @return VolumeType
6355 */
6456 public function createVolumeType (array $ userOptions ): VolumeType
6557 {
6658 return $ this ->model (VolumeType::class)->create ($ userOptions );
6759 }
6860
69- /**
70- * @return \Generator
71- */
7261 public function listVolumeTypes (): \Generator
7362 {
7463 return $ this ->model (VolumeType::class)->enumerate ($ this ->api ->getTypes (), []);
7564 }
7665
77- /**
78- * @param string $typeId
79- *
80- * @return VolumeType
81- */
8266 public function getVolumeType (string $ typeId ): VolumeType
8367 {
8468 $ type = $ this ->model (VolumeType::class);
@@ -89,29 +73,19 @@ public function getVolumeType(string $typeId): VolumeType
8973
9074 /**
9175 * @param array $userOptions {@see Api::postSnapshots}
92- *
93- * @return Snapshot
9476 */
9577 public function createSnapshot (array $ userOptions ): Snapshot
9678 {
9779 return $ this ->model (Snapshot::class)->create ($ userOptions );
9880 }
9981
100- /**
101- * @return \Generator
102- */
10382 public function listSnapshots (bool $ detail = false , array $ userOptions = []): \Generator
10483 {
10584 $ def = (true === $ detail ) ? $ this ->api ->getSnapshotsDetail () : $ this ->api ->getSnapshots ();
10685
10786 return $ this ->model (Snapshot::class)->enumerate ($ def , $ userOptions );
10887 }
10988
110- /**
111- * @param string $snapshotId
112- *
113- * @return Snapshot
114- */
11589 public function getSnapshot (string $ snapshotId ): Snapshot
11690 {
11791 $ snapshot = $ this ->model (Snapshot::class);
@@ -122,10 +96,6 @@ public function getSnapshot(string $snapshotId): Snapshot
12296
12397 /**
12498 * Shows A Quota for a tenant.
125- *
126- * @param string $tenantId
127- *
128- * @return QuotaSet
12999 */
130100 public function getQuotaSet (string $ tenantId ): QuotaSet
131101 {
0 commit comments