Skip to content

Commit

Permalink
Merge branch 'main' of github.com:vormkracht10/laravel-open-graph-image
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Sep 9, 2022
2 parents 4418953 + 5f122ac commit 82c6d83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Facades/OpenGraphImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ protected static function getFacadeAccessor()
{
return \Vormkracht10\LaravelOpenGraphImage\OpenGraphImage::class;
}
}
}
4 changes: 2 additions & 2 deletions src/OpenGraphImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

class OpenGraphImage
{
public function url(...$args)
public function url(...$args)
{
return url()->signedRoute('open-graph-image.file', ...$args);
}
}
}
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ function og(...$args): string
{
return OpenGraphImage::url(...$args);
}
}
}

0 comments on commit 82c6d83

Please sign in to comment.