Skip to content

Commit

Permalink
Merge pull request #5 from heychazza/master
Browse files Browse the repository at this point in the history
Updated PHP doc blocks to aid IDEs when using named arguments.
  • Loading branch information
stancl authored May 28, 2021
2 parents 125a94d + b4ef3da commit 81d0a12
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/SEOManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
use Illuminate\Support\Str;

/**
* @method $this title(string $title) Set the title.
* @method $this description(string $description) Set the description.
* @method $this url(string $url) Set the canonical URL.
* @method $this site(string $site) Set the site name.
* @method $this image(string $url) Set the cover image.
* @method $this twitter(enabled $bool = true) Enable the Twitter extension.
* @method $this twitterSite(string $username) Set the Twitter author.
* @method $this twitterTitle(string $title) Set the Twitter title.
* @method $this twitterDescription(string $description) Set the Twitter description.
* @method $this twitterImage(string $url) Set the Twitter cover image.
* @method $this title(string $title = null, ...$args) Set the title.
* @method $this description(string $description = null, ...$args) Set the description.
* @method $this url(string $url = null, ...$args) Set the canonical URL.
* @method $this site(string $site = null, ...$args) Set the site name.
* @method $this image(string $url = null, ...$args) Set the cover image.
* @method $this twitter(enabled $bool = true, ...$args) Enable the Twitter extension.
* @method $this twitterSite(string $username = null, ...$args) Set the Twitter author.
* @method $this twitterTitle(string $title = null, ...$args) Set the Twitter title.
* @method $this twitterDescription(string $description = null, ...$args) Set the Twitter description.
* @method $this twitterImage(string $url = null, ...$args) Set the Twitter cover image.
*/
class SEOManager
{
Expand Down

0 comments on commit 81d0a12

Please sign in to comment.