You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the laravel project I work on we completely disabled aliases, using the Config alias forces the developer of a project to include atleast that alias which, in my opinion, shouldn't be a decision forced through a package
I also took the liberty of adding an early return and removing an unused variable from the code I worked on
Cleaner Code with Consistency
To ensure the code is easier to read, we've brought a new teammate on board, our Config facade! This simplifies the way we access configuration settings, making the code neater and more straightforward to follow. Now, we'll use Config::get throughout our codebase for a uniform look. Consistency is key! 🔑
Efficient Directory Creation
We've given our directory creation logic a facelift, embracing elegance and simplicity. No more needless block of code that just waits around: we're all about that "early return" lifestyle now. It also ensures that the pathways for our virtual content banks (Filament Pages, Resources, and Widgets) are always carved out, even if they didn't exist before. So, welcome to a smoother, uncluttered flow of the directory creation process. Enjoy the improved, less messy journey! 🚀
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the laravel project I work on we completely disabled aliases, using the Config alias forces the developer of a project to include atleast that alias which, in my opinion, shouldn't be a decision forced through a package
I also took the liberty of adding an early return and removing an unused variable from the code I worked on