@@ -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 @@ |
||
| 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 | */ |
@@ -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 | */ |
@@ -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 | { |
@@ -676,7 +676,7 @@ discard block |
||
| 676 | 676 | /** |
| 677 | 677 | * Get the parent object (an {@see OperationInterface} or {@see Parameter} |
| 678 | 678 | * |
| 679 | - * @return OperationInterface|Parameter|null |
|
| 679 | + * @return Operation |
|
| 680 | 680 | */ |
| 681 | 681 | public function getParent() |
| 682 | 682 | { |
@@ -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'); |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Guzzle\Http\Client; |
| 6 | 6 | use Guzzle\Http\EntityBody; |
| 7 | -use Guzzle\Http\Message\Request; |
|
| 8 | 7 | use Guzzle\Http\Message\RequestFactory; |
| 9 | 8 | use Guzzle\Http\RedirectPlugin; |
| 10 | 9 | use Guzzle\Http\Message\EntityEnclosingRequest; |
@@ -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 | /** |