@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Return last execution detail |
43 | 43 | * @param string $name |
44 | - * @return int|string|double |
|
44 | + * @return string|null |
|
45 | 45 | */ |
46 | 46 | public function getInfo($name) |
47 | 47 | { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | /** |
56 | 56 | * Retrieve all infos |
57 | - * @return array |
|
57 | + * @return string |
|
58 | 58 | */ |
59 | 59 | public function getInfos() |
60 | 60 | { |
@@ -64,8 +64,7 @@ discard block |
||
64 | 64 | /** |
65 | 65 | * Add an option to the handle |
66 | 66 | * @param int $name |
67 | - * @param mixed $value |
|
68 | - * @return Handle |
|
67 | + * @return boolean |
|
69 | 68 | */ |
70 | 69 | public function hasOption($name) |
71 | 70 | { |
@@ -75,8 +74,8 @@ discard block |
||
75 | 74 | /** |
76 | 75 | * Add an option to the handle |
77 | 76 | * @param int $name |
78 | - * @param mixed $value |
|
79 | - * @return Handle |
|
77 | + * @param string|false $value |
|
78 | + * @return AbstractHandle |
|
80 | 79 | */ |
81 | 80 | public function addOption($name, $value) |
82 | 81 | { |
@@ -87,7 +86,7 @@ discard block |
||
87 | 86 | /** |
88 | 87 | * Add multiple option at once |
89 | 88 | * @param string[] $options |
90 | - * @return Handle |
|
89 | + * @return AbstractHandle |
|
91 | 90 | */ |
92 | 91 | public function addOptions(array $options) |
93 | 92 | { |
@@ -51,7 +51,7 @@ |
||
51 | 51 | /** |
52 | 52 | * Validate scheme by checking if its an allowed one |
53 | 53 | * @param string $scheme |
54 | - * @return boolean|string If invalid, false, else return the request known one |
|
54 | + * @return string|false If invalid, false, else return the request known one |
|
55 | 55 | */ |
56 | 56 | private static function isAllowedScheme($scheme) |
57 | 57 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | /** |
26 | 26 | * Set body with stream acceptance |
27 | - * @param resource|string $body Request body |
|
27 | + * @param string $body Request body |
|
28 | 28 | */ |
29 | 29 | public function setBody($body) |
30 | 30 | { |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | use Behat\Behat\Context\Context; |
4 | 4 | use Behat\Behat\Context\SnippetAcceptingContext; |
5 | -use Behat\Gherkin\Node\PyStringNode; |
|
6 | -use Behat\Gherkin\Node\TableNode; |
|
7 | - |
|
8 | 5 | use Bee4\Transport\Client; |
9 | 6 | |
10 | 7 | /** |