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

Drop legacy support #29

Merged
merged 11 commits into from
Mar 18, 2024
Merged

Drop legacy support #29

merged 11 commits into from
Mar 18, 2024

Conversation

ultrono
Copy link
Contributor

@ultrono ultrono commented Mar 18, 2024

Support PHP ^8.0 and Laravel >8.0 only. For simplicity and better autocompletion, adjust behaviour of meta() helper function to only return an instance of the main meta class.

Previously this function could be used as shorthand. i.e. meta('title') and meta()->get('title') were the same.

Robert Allport added 11 commits March 18, 2024 09:33
Previously the `meta` helper method could return a specific meta tag i.e. `meta('my-tag')`. This is a shortcut to writing `meta()->get('my-tag')`.

The same function could also return an instance of the main `Meta` class.

This caused autocompletion issues. The helper function now returns an instance of the meta class.
@ultrono ultrono merged commit 5e81659 into master Mar 18, 2024
26 checks passed
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.

1 participant