-
Notifications
You must be signed in to change notification settings - Fork 0
IBX-10507: Allowed nullable type declarations for method parameters across the codebase #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-10507: Allowed nullable type declarations for method parameters across the codebase #40
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Nitpicks] Nice to have:
| /** | ||
| * @var array | ||
| */ | ||
| /** @var array */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're touching this, it would be nice to have here a proper array shape ;-)
| private $designPaths; | ||
|
|
||
| /** | ||
| * @var string | ||
| */ | ||
| /** @var string */ | ||
| private $webRootDir; | ||
|
|
||
| /** | ||
| * @var \Psr\Log\LoggerInterface | ||
| */ | ||
| /** @var \Psr\Log\LoggerInterface|null */ | ||
| private $logger; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could replace these with strict properties.



Description:
Allowed nullable type declarations for method parameters across the codebase