@@ -79,7 +79,6 @@ |
||
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
82 | - * @param string $key - CURLOPT_* - see: http://php.net/manual/en/function.curl-setopt.php |
|
83 | 82 | */ |
84 | 83 | public function addRawHeaderLine($line) |
85 | 84 | { |
@@ -175,7 +175,7 @@ |
||
175 | 175 | public function trace($url) |
176 | 176 | { |
177 | 177 | } |
178 | - */ |
|
178 | + */ |
|
179 | 179 | |
180 | 180 | /** |
181 | 181 | * @param bool|false $alsoTheDefaults |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | |
207 | 207 | $headerLines[] = 'X-HTTP-Method-Override: ' . $method; //@see: http://tr.php.net/curl_setopt#109634 |
208 | 208 | |
209 | - $options[CURLOPT_CUSTOMREQUEST] = $method; //@see: http://tr.php.net/curl_setopt#109634 |
|
209 | + $options[CURLOPT_CUSTOMREQUEST] = $method; //@see: http://tr.php.net/curl_setopt#109634 |
|
210 | 210 | $options[CURLOPT_HEADER] = 1; |
211 | 211 | $options[CURLOPT_HTTPHEADER] = $headerLines; |
212 | 212 | //@todo needed we want to work with json? |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | } |
221 | 221 | |
222 | 222 | if (!empty($parameters)) { |
223 | - $urlWithParameters = $url . '?'. http_build_query($parameters); |
|
223 | + $urlWithParameters = $url . '?' . http_build_query($parameters); |
|
224 | 224 | } else { |
225 | 225 | $urlWithParameters = $url; |
226 | 226 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author stev leibelt <[email protected]> |
|
4 | - * @since 2015-12-09 |
|
5 | - */ |
|
3 | + * @author stev leibelt <[email protected]> |
|
4 | + * @since 2015-12-09 |
|
5 | + */ |
|
6 | 6 | namespace Net\Bazzline\Component\Curl; |
7 | 7 | |
8 | 8 | class BuilderFactory implements FactoryInterface |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author stev leibelt <[email protected]> |
|
4 | - * @since 2015-12-09 |
|
5 | - */ |
|
3 | + * @author stev leibelt <[email protected]> |
|
4 | + * @since 2015-12-09 |
|
5 | + */ |
|
6 | 6 | namespace Net\Bazzline\Component\Curl; |
7 | 7 | |
8 | 8 | class Dispatcher |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author stev leibelt <[email protected]> |
|
4 | - * @since 2015-12-08 |
|
5 | - */ |
|
3 | + * @author stev leibelt <[email protected]> |
|
4 | + * @since 2015-12-08 |
|
5 | + */ |
|
6 | 6 | namespace Net\Bazzline\Component\Curl\HeadLine; |
7 | 7 | |
8 | 8 | interface HeadLineInterface |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author stev leibelt <[email protected]> |
|
4 | - * @since 2015-12-08 |
|
5 | - */ |
|
3 | + * @author stev leibelt <[email protected]> |
|
4 | + * @since 2015-12-08 |
|
5 | + */ |
|
6 | 6 | namespace Net\Bazzline\Component\Curl\Option; |
7 | 7 | |
8 | 8 | interface OptionInterface |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author stev leibelt <[email protected]> |
|
4 | - * @since 2015-12-09 |
|
5 | - */ |
|
3 | + * @author stev leibelt <[email protected]> |
|
4 | + * @since 2015-12-09 |
|
5 | + */ |
|
6 | 6 | namespace Net\Bazzline\Component\Curl\ResponseBehaviour; |
7 | 7 | |
8 | 8 | use Exception; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author stev leibelt <[email protected]> |
|
4 | - * @since 2015-12-08 |
|
5 | - */ |
|
3 | + * @author stev leibelt <[email protected]> |
|
4 | + * @since 2015-12-08 |
|
5 | + */ |
|
6 | 6 | namespace Net\Bazzline\Component\Curl\ResponseBehaviour; |
7 | 7 | |
8 | 8 | use Exception; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author stev leibelt <[email protected]> |
|
4 | - * @since 2015-12-09 |
|
5 | - */ |
|
3 | + * @author stev leibelt <[email protected]> |
|
4 | + * @since 2015-12-09 |
|
5 | + */ |
|
6 | 6 | namespace Net\Bazzline\Component\Curl\ResponseBehaviour; |
7 | 7 | |
8 | 8 | use Exception; |