Completed
Push — master ( da45ca...077b9d )
by Julián
03:06
created
src/Transport/TransportAware.php 3 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -68,6 +68,8 @@  discard block
 block discarded – undo
68 68
 
69 69
     /**
70 70
      * {@inheritdoc}
71
+     * @param integer $option
72
+     * @param integer $value
71 73
      */
72 74
     public function hasOption($option, $value = null)
73 75
     {
@@ -92,6 +94,7 @@  discard block
 block discarded – undo
92 94
 
93 95
     /**
94 96
      * {@inheritdoc}
97
+     * @param integer $option
95 98
      */
96 99
     public function removeOption($option)
97 100
     {
@@ -107,6 +110,10 @@  discard block
 block discarded – undo
107 110
 
108 111
         $this->options = array_filter(
109 112
             $this->options,
113
+
114
+            /**
115
+             * @param integer $transportOption
116
+             */
110 117
             function ($transportOption) use ($option) {
111 118
                 /** @var \Jgut\Spiral\Option $transportOption */
112 119
                 return !($transportOption->getOption() === $option);
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Transport;
10 10
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 
108 108
         $this->options = array_filter(
109 109
             $this->options,
110
-            function ($transportOption) use ($option) {
110
+            function($transportOption) use ($option) {
111 111
                 /** @var \Jgut\Spiral\Option $transportOption */
112 112
                 return !($transportOption->getOption() === $option);
113 113
             }
Please login to merge, or discard this patch.
src/Exception/OptionException.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Exception;
10 10
 
Please login to merge, or discard this patch.
src/Option/AutoReferer.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Option;
10 10
 
Please login to merge, or discard this patch.
src/Option/ConnectTimeout.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Option;
10 10
 
Please login to merge, or discard this patch.
src/Option/Cookie.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Option;
10 10
 
Please login to merge, or discard this patch.
src/Option/CookieFile.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Option;
10 10
 
Please login to merge, or discard this patch.
src/Option/CookieJar.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Option;
10 10
 
Please login to merge, or discard this patch.
src/Option/Crlf.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Option;
10 10
 
Please login to merge, or discard this patch.
src/Option/Encoding.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
- *
5
- * @link https://github.com/juliangut/spiral for the canonical source repository
6
- * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
- */
3
+     * Spiral: PSR7 aware cURL client (https://github.com/juliangut/spiral)
4
+     *
5
+     * @link https://github.com/juliangut/spiral for the canonical source repository
6
+     * @license https://raw.githubusercontent.com/juliangut/spiral/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Spiral\Option;
10 10
 
Please login to merge, or discard this patch.