ArshiaMohammadei
ArshiaMohammadei
feat(weather): enhance details, add forecast & improve UI/UX - Added humidity, dew point, and "feels like" temperature - Introduced 5-day forecast popover with min/max temps & icons - Improved layout:...
Refactored outdated logic for compatibility and maintainability - Introduced class constants for default formats - Removed code duplication via helper methods - Improved type hinting for better static analysis -...
### What's Changed - Applied modern type hints: `string|array|null` for flexible input. - Automatically converts array-based CSS classes to string via `implode()`. - Introduced optional `meta` array for adding custom...
### What's Changed - Added support for testing the new `meta` feature in messages (`withMeta`, `getMeta`, `hasMeta`) - Verified that `level` is properly handled and stored when passed via `flash()`...
### Improvements Summary - Added precise type hints for parameters and return types (e.g. `?Authenticatable`, `void`) - Used modern PHP features like nullsafe operator (`?->`) and arrow functions - Reduced...
## Summary of Improvements - Introduced proper type hinting for parameters and return values - Refactored complex logic into smaller, reusable helper methods - Used `??` for cleaner default handling...
## Summary of Improvements - Added precise return types for roles() and boot method - Renamed `boot()` to `bootEntrustPermissionTrait()` to prevent trait conflicts - Replaced `sync([])` with `detach()` for better...
## Summary of Improvements - Stronger type hints for properties and methods - Separated logic into normalizeRoles() and unauthorized() helpers - Used (string) cast for safer role handling - Switched...
## Summary of Improvements - Added property and method type hints for better safety - Switched to `Illuminate\Http\Request` instead of plain `$request` - Extracted `normalizePermissions()` to improve method clarity -...