Skip to content

Conversation

@fine-ai
Copy link

@fine-ai fine-ai bot commented Dec 1, 2024

Fix typos in class name and inline styles

  • Renamed UserNotFountException to UserNotFoundException in app/Exceptions/User/UserNotFountException.php, including updating the file name and class definition.
  • Corrected box-radius to border-radius in inline styles for the body and anchor tag in resources/views/emails/link-auto-register.blade.php.
  • Corrected box-radius to border-radius in inline styles for the body and anchor tag in resources/views/emails/saas-client-confirm-email.blade.php.

fine-agent added 2 commits December 1, 2024 23:05
- Renamed `UserNotFountException` to `UserNotFoundException` in `app/Exceptions/User/UserNotFountException.php`, including updating the file name and class definition.
- Corrected `box-radius` to `border-radius` in inline styles for the body and anchor tag in `resources/views/emails/link-auto-register.blade.php`.
- Corrected `box-radius` to `border-radius` in inline styles for the body and anchor tag in `resources/views/emails/saas-client-confirm-email.blade.php`.
- Refactored the `User` class in `app/Models/User.php` to adhere to the Single Responsibility Principle (SRP) by extracting permission handling, profile management, and SaaS client logic into separate classes or services. The `User` class now solely represents a user and its basic properties.
- Updated `database/seeders/DatabaseSeeder.php` to follow SRP by moving the logic for creating permissions, profiles, and SaaS clients into distinct classes or services. The `DatabaseSeeder` now focuses on orchestrating the execution of seeders.
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.

0 participants