refactor(phpstan): update type declaration format and add reflection for Shipping class
- Modified format for return types in declaration of functions `getAvatar`, `getConfig`, and `getSetting` for increased readability. - Added `ReflectionClass` usage to check for constant in `QUI\ERP\Shipping\Shipping` in `getShippingTimeFrontendView` function, enhancing maintainability and robustness of the code. - Adjusted the fail-safe condition inside `getShippingTimeFrontendView` to check for the existence of the class 'Shipping' before checking for defined constant, reducing chance of errors. - Imported `ReflectionClass` at the top of the file.
Übergeordneter
704e4892
No related branches found
No related tags found
Bitte registrieren oder Anmelden zum Kommentieren