| @@ -42,11 +42,10 @@ | ||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Filter: 'wpseo_canonical' - Allow filtering of the canonical URL put out by Yoast SEO. |
| 45 | 45 | * |
| 46 | - * @api string $canonical The canonical URL. | |
| 47 | - * | |
| 46 | + * @param string $canonical The canonical URL. | |
| 48 | 47 | * @param Indexable_Presentation $presentation The presentation of an indexable. |
| 49 | 48 | */ |
| 50 | - return \urldecode( (string) \trim( \apply_filters( 'wpseo_canonical', $this->presentation->canonical, $this->presentation ) ) ); | |
| 49 | + return \urldecode( \trim( (string) \apply_filters( 'wpseo_canonical', $this->presentation->canonical, $this->presentation ) ) ); | |
| 51 | 50 | } |
| 52 | 51 | } |