Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix README.md #370

Merged
merged 2 commits into from
Mar 13, 2021
Merged

Fix README.md #370

merged 2 commits into from
Mar 13, 2021

Conversation

thinkverse
Copy link
Contributor

Fixed a small code style typo in the README that was bugging me. 👍

Before

class Post extends Model implements Sitemapable
{
    public function toSitemapTag() : Url | string | array{
        return route('blog.post.show', $this);
    }
}

After

class Post extends Model implements Sitemapable
{
    public function toSitemapTag(): Url | string | array
    {
        return route('blog.post.show', $this);
    }
}

@freekmurze freekmurze merged commit b62b750 into spatie:master Mar 13, 2021
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants