@@ -51,7 +51,7 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @return array |
|
54 | + * @return string[] |
|
55 | 55 | */ |
56 | 56 | public function getExpectedResponseCodes() |
57 | 57 | { |
@@ -110,6 +110,7 @@ |
||
110 | 110 | |
111 | 111 | /** |
112 | 112 | * {@inheritdoc} |
113 | + * @param string $value |
|
113 | 114 | */ |
114 | 115 | public function authInfo($type, $value) |
115 | 116 | { |
@@ -48,6 +48,11 @@ |
||
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Constructor. |
51 | + * @param string $groups |
|
52 | + * @param string $subject |
|
53 | + * @param string $body |
|
54 | + * @param string $from |
|
55 | + * @param string|null $headers |
|
51 | 56 | */ |
52 | 57 | public function __construct($groups, $subject, $body, $from, $headers) |
53 | 58 | { |
@@ -8,8 +8,8 @@ discard block |
||
8 | 8 | interface SocketInterface |
9 | 9 | { |
10 | 10 | /** |
11 | - * @param bool $toggle |
|
12 | 11 | * |
12 | + * @param boolean $blocking |
|
13 | 13 | * @return self |
14 | 14 | */ |
15 | 15 | public function setBlocking($blocking); |
@@ -40,7 +40,17 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function eof(); |
42 | 42 | |
43 | + /** |
|
44 | + * @param integer $length |
|
45 | + * |
|
46 | + * @return string |
|
47 | + */ |
|
43 | 48 | public function read($length); |
44 | 49 | |
50 | + /** |
|
51 | + * @param string $data |
|
52 | + * |
|
53 | + * @return integer |
|
54 | + */ |
|
45 | 55 | public function write($data); |
46 | 56 | } |