@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | /** |
| 212 | 212 | * Set the Buzz client used to connect to Transmission |
| 213 | 213 | * |
| 214 | - * @param Buzz\Client\ClientInterface $client |
|
| 214 | + * @param ClientInterface $client |
|
| 215 | 215 | */ |
| 216 | 216 | public function setClient(ClientInterface $client) |
| 217 | 217 | { |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | } |
| 252 | 252 | |
| 253 | 253 | /** |
| 254 | - * @param Buzz\Message\Response $response |
|
| 254 | + * @param Response $response |
|
| 255 | 255 | * @param string $method |
| 256 | 256 | * @param array $arguments |
| 257 | 257 | * @return stdClass |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | /** |
| 20 | 20 | * Constructor |
| 21 | 21 | * |
| 22 | - * @param Transmission\Client $client |
|
| 22 | + * @param Client $client |
|
| 23 | 23 | */ |
| 24 | 24 | public function __construct(Client $client = null) |
| 25 | 25 | { |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | - * @param Transmission\Client $client |
|
| 30 | + * @param Client $client |
|
| 31 | 31 | */ |
| 32 | 32 | public function setClient(Client $client) |
| 33 | 33 | { |
@@ -54,7 +54,6 @@ |
||
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | - * @param integer $size |
|
| 58 | 57 | */ |
| 59 | 58 | public function setCompleted($completed) |
| 60 | 59 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * Get a specific torrent from the download queue |
| 71 | 71 | * |
| 72 | 72 | * @param integer $id |
| 73 | - * @return Transmission\Model\Torrent |
|
| 73 | + * @return Torrent |
|
| 74 | 74 | * @throws RuntimeException |
| 75 | 75 | */ |
| 76 | 76 | public function get($id) |
@@ -150,7 +150,6 @@ discard block |
||
| 150 | 150 | /** |
| 151 | 151 | * Add a torrent to the download queue |
| 152 | 152 | * |
| 153 | - * @param string $filename |
|
| 154 | 153 | * @param boolean $metainfo |
| 155 | 154 | * @param string $savepath |
| 156 | 155 | * @return Transmission\Model\Torrent |
@@ -177,7 +176,7 @@ discard block |
||
| 177 | 176 | /** |
| 178 | 177 | * Start the download of a torrent |
| 179 | 178 | * |
| 180 | - * @param Transmission\Model\Torrent $torrent |
|
| 179 | + * @param Torrent $torrent |
|
| 181 | 180 | * @param Booleam $now |
| 182 | 181 | */ |
| 183 | 182 | public function start(Torrent $torrent, $now = false) |
@@ -191,7 +190,7 @@ discard block |
||
| 191 | 190 | /** |
| 192 | 191 | * Stop the download of a torrent |
| 193 | 192 | * |
| 194 | - * @param Transmission\Model\Torrent $torrent |
|
| 193 | + * @param Torrent $torrent |
|
| 195 | 194 | */ |
| 196 | 195 | public function stop(Torrent $torrent) |
| 197 | 196 | { |
@@ -204,7 +203,7 @@ discard block |
||
| 204 | 203 | /** |
| 205 | 204 | * Verify the download of a torrent |
| 206 | 205 | * |
| 207 | - * @param Transmission\Model\Torrent $torrent |
|
| 206 | + * @param Torrent $torrent |
|
| 208 | 207 | */ |
| 209 | 208 | public function verify(Torrent $torrent) |
| 210 | 209 | { |
@@ -217,7 +216,7 @@ discard block |
||
| 217 | 216 | /** |
| 218 | 217 | * Request a reannounce of a torrent |
| 219 | 218 | * |
| 220 | - * @param Transmission\Model\Torrent $torrent |
|
| 219 | + * @param Torrent $torrent |
|
| 221 | 220 | */ |
| 222 | 221 | public function reannounce(Torrent $torrent) |
| 223 | 222 | { |
@@ -230,7 +229,7 @@ discard block |
||
| 230 | 229 | /** |
| 231 | 230 | * Remove a torrent from the download queue |
| 232 | 231 | * |
| 233 | - * @param Transmission\Model\Torrent $torrent |
|
| 232 | + * @param Torrent $torrent |
|
| 234 | 233 | */ |
| 235 | 234 | public function remove(Torrent $torrent, $localData = false) |
| 236 | 235 | { |
@@ -246,7 +245,7 @@ discard block |
||
| 246 | 245 | /** |
| 247 | 246 | * Set the client used to connect to Transmission |
| 248 | 247 | * |
| 249 | - * @param Transmission\Client $client |
|
| 248 | + * @param Client $client |
|
| 250 | 249 | */ |
| 251 | 250 | public function setClient(Client $client) |
| 252 | 251 | { |
@@ -256,7 +255,7 @@ discard block |
||
| 256 | 255 | /** |
| 257 | 256 | * Get the client used to connect to Transmission |
| 258 | 257 | * |
| 259 | - * @return Transmission\Client |
|
| 258 | + * @return null|Client |
|
| 260 | 259 | */ |
| 261 | 260 | public function getClient() |
| 262 | 261 | { |
@@ -306,7 +305,7 @@ discard block |
||
| 306 | 305 | /** |
| 307 | 306 | * Set the mapper used to map responses from Transmission to models |
| 308 | 307 | * |
| 309 | - * @param Transmission\Util\PropertyMapper $mapper |
|
| 308 | + * @param PropertyMapper $mapper |
|
| 310 | 309 | */ |
| 311 | 310 | public function setMapper(PropertyMapper $mapper) |
| 312 | 311 | { |
@@ -326,7 +325,7 @@ discard block |
||
| 326 | 325 | /** |
| 327 | 326 | * Set the validator used to validate Transmission responses |
| 328 | 327 | * |
| 329 | - * @param Transmission\Util\ResponseValidator $validator |
|
| 328 | + * @param ResponseValidator $validator |
|
| 330 | 329 | */ |
| 331 | 330 | public function setValidator(ResponseValidator $validator) |
| 332 | 331 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | class PropertyMapper |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @param Transmission\Model\ModelInterface $model |
|
| 15 | + * @param ModelInterface $model |
|
| 16 | 16 | * @param stdClass $dto |
| 17 | 17 | * @return Transmission\Model\ModelInterface |
| 18 | 18 | */ |