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

Actually invalidate the URL if the database entry doesnt exist #21

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

ryanmitchell
Copy link
Contributor

No description provided.

Copy link

what-the-diff bot commented Aug 28, 2024

PR Summary

  • Simplification of constructors in Invalidate.php and InvalidateModel.php
    The initialisation process of both classes now uses a more straightforward, one-line syntax, that streamlines the code and enhances readability.

  • Refactoring in Manager.php
    The variable $cacher has been removed to tidy up the code. To maintain the same functionality, we're now leveraging the app(Cacher::class)->invalidateUrl($url, $domain). This change specifically invalidates a URL, helping to keep data up-to-date.

  • Formatting improvement in TestCase.php
    The require statement presentation in the file was enhanced with a space after the keyword. This formatting update further refines the code readability.

@sylvesterdamgaard sylvesterdamgaard merged commit 8bad195 into main Aug 28, 2024
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