@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @param string $url |
| 53 | - * @return Document |
|
| 53 | + * @return Preview |
|
| 54 | 54 | * @throws \Exception |
| 55 | 55 | */ |
| 56 | 56 | public function fetch($url) |
@@ -144,9 +144,7 @@ discard block |
||
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | 146 | * returns a string of the link preview html |
| 147 | - * @param string $type template name to be selected |
|
| 148 | - * @param string $viewPath path to templates folder |
|
| 149 | - * @return string html for link preview |
|
| 147 | + * @return Preview html for link preview |
|
| 150 | 148 | */ |
| 151 | 149 | public function getPreview() |
| 152 | 150 | { |
@@ -191,7 +189,7 @@ discard block |
||
| 191 | 189 | } |
| 192 | 190 | |
| 193 | 191 | /** |
| 194 | - * @param $metaTags |
|
| 192 | + * @param \Jclyons52\PHPQuery\Support\NodeCollection $metaTags |
|
| 195 | 193 | * @return array |
| 196 | 194 | */ |
| 197 | 195 | private function metaTagsToArray($metaTags) |