@@ -207,7 +207,7 @@ |
||
| 207 | 207 | * |
| 208 | 208 | * @param \XMLWriter $xmlWriter |
| 209 | 209 | * |
| 210 | - * @return \string the writer resource |
|
| 210 | + * @return string the writer resource |
|
| 211 | 211 | */ |
| 212 | 212 | protected function finishDocument($xmlWriter) |
| 213 | 213 | { |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Guzzle\Service\Command\LocationVisitor\Response\ResponseVisitorInterface; |
| 8 | 8 | use Guzzle\Service\Description\Parameter; |
| 9 | 9 | use Guzzle\Service\Description\OperationInterface; |
| 10 | -use Guzzle\Service\Description\Operation; |
|
| 11 | 10 | use Guzzle\Service\Exception\ResponseClassException; |
| 12 | 11 | use Guzzle\Service\Resource\Model; |
| 13 | 12 | |
@@ -493,7 +493,7 @@ discard block |
||
| 493 | 493 | * Set a particular data point on the operation |
| 494 | 494 | * |
| 495 | 495 | * @param string $name Name of the data value |
| 496 | - * @param mixed $value Value to set |
|
| 496 | + * @param boolean $value Value to set |
|
| 497 | 497 | * |
| 498 | 498 | * @return self |
| 499 | 499 | */ |
@@ -507,7 +507,7 @@ discard block |
||
| 507 | 507 | /** |
| 508 | 508 | * Get the additionalParameters of the operation |
| 509 | 509 | * |
| 510 | - * @return Parameter|null |
|
| 510 | + * @return Parameter |
|
| 511 | 511 | */ |
| 512 | 512 | public function getAdditionalParameters() |
| 513 | 513 | { |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | /** |
| 280 | 280 | * Set the type(s) of the parameter |
| 281 | 281 | * |
| 282 | - * @param string|array $type Type of parameter or array of simple types used in a union |
|
| 282 | + * @param string $type Type of parameter or array of simple types used in a union |
|
| 283 | 283 | * |
| 284 | 284 | * @return self |
| 285 | 285 | */ |
@@ -341,7 +341,7 @@ discard block |
||
| 341 | 341 | /** |
| 342 | 342 | * Get the description of the parameter |
| 343 | 343 | * |
| 344 | - * @return string|null |
|
| 344 | + * @return string |
|
| 345 | 345 | */ |
| 346 | 346 | public function getDescription() |
| 347 | 347 | { |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | /** |
| 390 | 390 | * Get the maximum acceptable value for an integer |
| 391 | 391 | * |
| 392 | - * @return int|null |
|
| 392 | + * @return integer |
|
| 393 | 393 | */ |
| 394 | 394 | public function getMaximum() |
| 395 | 395 | { |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | /** |
| 438 | 438 | * Get the maximum allowed length of a string value |
| 439 | 439 | * |
| 440 | - * @return int|null |
|
| 440 | + * @return integer |
|
| 441 | 441 | */ |
| 442 | 442 | public function getMaxLength() |
| 443 | 443 | { |
@@ -461,7 +461,7 @@ discard block |
||
| 461 | 461 | /** |
| 462 | 462 | * Get the maximum allowed number of items in an array value |
| 463 | 463 | * |
| 464 | - * @return int|null |
|
| 464 | + * @return integer |
|
| 465 | 465 | */ |
| 466 | 466 | public function getMaxItems() |
| 467 | 467 | { |
@@ -582,7 +582,7 @@ discard block |
||
| 582 | 582 | * Set the extra data properties of the parameter or set a specific extra property |
| 583 | 583 | * |
| 584 | 584 | * @param string|array|null $nameOrData The name of a specific extra to set or an array of extras to set |
| 585 | - * @param mixed|null $data When setting a specific extra property, specify the data to set for it |
|
| 585 | + * @param string $data When setting a specific extra property, specify the data to set for it |
|
| 586 | 586 | * |
| 587 | 587 | * @return self |
| 588 | 588 | */ |
@@ -600,7 +600,7 @@ discard block |
||
| 600 | 600 | /** |
| 601 | 601 | * Get whether or not the default value can be changed |
| 602 | 602 | * |
| 603 | - * @return mixed|null |
|
| 603 | + * @return boolean |
|
| 604 | 604 | */ |
| 605 | 605 | public function getStatic() |
| 606 | 606 | { |
@@ -864,7 +864,7 @@ discard block |
||
| 864 | 864 | /** |
| 865 | 865 | * Set the enum of strings that are valid for the parameter |
| 866 | 866 | * |
| 867 | - * @param array|null $enum Array of strings or null |
|
| 867 | + * @param string[] $enum Array of strings or null |
|
| 868 | 868 | * |
| 869 | 869 | * @return self |
| 870 | 870 | */ |
@@ -260,7 +260,7 @@ |
||
| 260 | 260 | * @param string $type Parameter type |
| 261 | 261 | * @param mixed $value Value to determine the type |
| 262 | 262 | * |
| 263 | - * @return string|bool Returns the matching type on |
|
| 263 | + * @return string|false Returns the matching type on |
|
| 264 | 264 | */ |
| 265 | 265 | protected function determineType($type, $value) |
| 266 | 266 | { |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | * Set an option on the iterator |
| 111 | 111 | * |
| 112 | 112 | * @param string $key Key of the option to set |
| 113 | - * @param mixed $value Value to set for the option |
|
| 113 | + * @param string $value Value to set for the option |
|
| 114 | 114 | * |
| 115 | 115 | * @return ResourceIterator |
| 116 | 116 | */ |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | * @param string $algo Hash algorithm (e.g. md5, crc32, etc) |
| 91 | 91 | * @param bool $rawOutput Whether or not to use raw output |
| 92 | 92 | * |
| 93 | - * @return bool|string Returns false on failure or a hash string on success |
|
| 93 | + * @return false|string Returns false on failure or a hash string on success |
|
| 94 | 94 | */ |
| 95 | 95 | public static function getHash(StreamInterface $stream, $algo, $rawOutput = false) |
| 96 | 96 | { |
@@ -9,11 +9,17 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class BatchBuilderTest extends \Guzzle\Tests\GuzzleTestCase |
| 11 | 11 | { |
| 12 | + /** |
|
| 13 | + * @return \Guzzle\Batch\BatchTransferInterface |
|
| 14 | + */ |
|
| 12 | 15 | private function getMockTransfer() |
| 13 | 16 | { |
| 14 | 17 | return $this->getMock('Guzzle\Batch\BatchTransferInterface'); |
| 15 | 18 | } |
| 16 | 19 | |
| 20 | + /** |
|
| 21 | + * @return \Guzzle\Batch\BatchDivisorInterface |
|
| 22 | + */ |
|
| 17 | 23 | private function getMockDivisor() |
| 18 | 24 | { |
| 19 | 25 | return $this->getMock('Guzzle\Batch\BatchDivisorInterface'); |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use Guzzle\Http\Message\Request; |
| 12 | 12 | use Guzzle\Http\QueryString; |
| 13 | 13 | use Guzzle\Parser\Message\MessageParser; |
| 14 | -use Guzzle\Plugin\Log\LogPlugin; |
|
| 15 | 14 | use Guzzle\Plugin\Mock\MockPlugin; |
| 16 | 15 | |
| 17 | 16 | /** |