Completed
Pull Request — guzzle6 (#109)
by Stefano
05:29
created
src/Operation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
      * @param string $name Name of the data point to retrieve or null to
240 240
      *     retrieve all of the extra data.
241 241
      *
242
-     * @return mixed|null
242
+     * @return string
243 243
      */
244 244
     public function getData($name = null)
245 245
     {
Please login to merge, or discard this patch.
src/RequestLocation/XmlLocation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
      *
242 242
      * @param \XMLWriter $writer
243 243
      *
244
-     * @return \string the writer resource
244
+     * @return string the writer resource
245 245
      */
246 246
     protected function finishDocument($writer)
247 247
     {
Please login to merge, or discard this patch.
src/SchemaValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      * @param string $type  Parameter type
59 59
      * @param mixed  $value Value to determine the type
60 60
      *
61
-     * @return string|bool Returns the matching type on
61
+     * @return string|false Returns the matching type on
62 62
      */
63 63
     protected function determineType($type, $value)
64 64
     {
Please login to merge, or discard this patch.
src/Description.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     /**
98 98
      * Get the basePath/baseUri of the description
99 99
      *
100
-     * @return Uri
100
+     * @return string
101 101
      */
102 102
     public function getBaseUri()
103 103
     {
Please login to merge, or discard this patch.
src/Deserializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * @param DescriptionInterface $description
44
-     * @param $process
44
+     * @param boolean $process
45 45
      * @param ResponseLocationInterface[] $responseLocations Extra response locations
46 46
      */
47 47
     public function __construct(
Please login to merge, or discard this patch.
src/Parameter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -473,7 +473,7 @@  discard block
 block discarded – undo
473 473
     /**
474 474
      * Get whether or not the default value can be changed
475 475
      *
476
-     * @return mixed|null
476
+     * @return boolean
477 477
      */
478 478
     public function getStatic()
479 479
     {
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
     /**
569 569
      * Get the enum of strings that are valid for the parameter
570 570
      *
571
-     * @return array|null
571
+     * @return string
572 572
      */
573 573
     public function getEnum()
574 574
     {
Please login to merge, or discard this patch.
src/Serializer.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 use GuzzleHttp\Command\Guzzle\RequestLocation\HeaderLocation;
8 8
 use GuzzleHttp\Command\Guzzle\RequestLocation\JsonLocation;
9 9
 use GuzzleHttp\Command\Guzzle\RequestLocation\MultiPartLocation;
10
-use GuzzleHttp\Command\Guzzle\RequestLocation\PostFieldLocation;
11
-use GuzzleHttp\Command\Guzzle\RequestLocation\PostFileLocation;
12 10
 use GuzzleHttp\Command\Guzzle\RequestLocation\QueryLocation;
13 11
 use GuzzleHttp\Command\Guzzle\RequestLocation\RequestLocationInterface;
14 12
 use GuzzleHttp\Command\Guzzle\RequestLocation\XmlLocation;
Please login to merge, or discard this patch.