@@ -10,11 +10,11 @@ |
||
| 10 | 10 | /** |
| 11 | 11 | * Gets a single header from an existing email by name. |
| 12 | 12 | * |
| 13 | - * @param $headerName |
|
| 13 | + * @param string $headerName |
|
| 14 | 14 | * |
| 15 | 15 | * @param string $regex if this is set, value will be evaluated with the give regular expression. |
| 16 | 16 | * |
| 17 | - * @return null|string|array |
|
| 17 | + * @return string|null |
|
| 18 | 18 | */ |
| 19 | 19 | public function getHeader( $headerName, $regex = null ) |
| 20 | 20 | { |
@@ -156,6 +156,9 @@ |
||
| 156 | 156 | ]; |
| 157 | 157 | } |
| 158 | 158 | |
| 159 | + /** |
|
| 160 | + * @param string $string |
|
| 161 | + */ |
|
| 159 | 162 | public function config( $string = null, $email = null ) |
| 160 | 163 | { |
| 161 | 164 | $email = $email ?: $this->emailAddress; |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | /** |
| 53 | 53 | * Adds a single label to the request |
| 54 | 54 | * |
| 55 | - * @param $label |
|
| 55 | + * @param string $label |
|
| 56 | 56 | * |
| 57 | 57 | * @return Mail |
| 58 | 58 | */ |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | /** |
| 67 | 67 | * Removes a single label from the request |
| 68 | 68 | * |
| 69 | - * @param $label |
|
| 69 | + * @param string $label |
|
| 70 | 70 | * |
| 71 | 71 | * @return Mail |
| 72 | 72 | */ |
@@ -317,6 +317,9 @@ |
||
| 317 | 317 | return rtrim( strtr( base64_encode( $data ), '+/', '-_' ), '=' ); |
| 318 | 318 | } |
| 319 | 319 | |
| 320 | + /** |
|
| 321 | + * @param string $name |
|
| 322 | + */ |
|
| 320 | 323 | private function emailList( $list, $name = null ) |
| 321 | 324 | { |
| 322 | 325 | if ( is_array( $list ) ) { |