hexadog / laravel-themes-manager

Bring multi themes support to your Laravel application with a full-featured Themes Manager
https://laravel-themes-manager.netlify.app
MIT License
152 stars 31 forks source link

error while creating theme from cli via theme:make coomand. #62

Closed Christophchi closed 1 year ago

Christophchi commented 1 year ago

During the creation of a theme using the "artisan theme:make" command, an error message is displayed in the command line that reads "Unexpected T_OBJECT_OPERATOR". This error occurs because of a syntax error in the return type of the URL method and the set method in the ThemesManager class. I have made corrections to the syntax errors by updating the code with my changes marked as "//new" and leaving the original code commented out as "//old". I have not made any changes to any other files besides the ThemesManager class. Please review and merge my pull request.