@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace luya\web\jsonld; |
| 4 | 4 | |
| 5 | 5 | use luya\helpers\ObjectHelper; |
| 6 | -use yii\base\InvalidConfigException; |
|
| 7 | 6 | |
| 8 | 7 | /** |
| 9 | 8 | * JsonLd Rating. |
@@ -70,6 +70,6 @@ |
||
| 70 | 70 | $output .= '&#'.ord($email[$i]).';'; |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - return $output; |
|
| 73 | + return $output; |
|
| 74 | 74 | } |
| 75 | 75 | } |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | /** |
| 50 | 50 | * Getter method for the e-mail. |
| 51 | 51 | * |
| 52 | - * @return string|boolean Returns the e-mail from the setter method, if mail is not valid false is returned. |
|
| 52 | + * @return string|false Returns the e-mail from the setter method, if mail is not valid false is returned. |
|
| 53 | 53 | */ |
| 54 | 54 | public function getEmail() |
| 55 | 55 | { |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | */ |
| 62 | 62 | public function getHref() |
| 63 | 63 | { |
| 64 | - return empty($this->getEmail()) ? null : 'mailto:' . $this->getEmail(); |
|
| 64 | + return empty($this->getEmail()) ? null : 'mailto:'.$this->getEmail(); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |