Skip to content

Conversation

@owenvoke
Copy link
Collaborator

As this package is bound as a singleton, and also just for general benefits, it's good to ensure that the property is encapsulated into the instance. 👍🏻 This changes the static variables and methods to be non-static, and also removes the create() method.

The reason I've removed the create() method is that this is a Laravel package, so it makes sense to always resolve via DI / the Facade. 👍🏻

@bradietilley bradietilley merged commit 30acf70 into main Nov 27, 2022
@bradietilley bradietilley deleted the feature/non-static-props branch November 27, 2022 10:11
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.

3 participants