czukowski commented on PR #6522:
URL: https://github.com/apache/netbeans/pull/6522#issuecomment-1748717120
Perhaps something like this?
Parameter naming style:
- Java style: `__construct($_)`
- No underscore: `__construct($)`
---
Also, since we're on this subject, these are also valid and IMO useful
options that perhaps should be considered:
```php
class Test {
public function __construct(
private int $test1,
private int $test2,
) {
}
}
```
```php
class Test {
public function __construct(
public readonly int $test1,
public readonly int $test2,
) {
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists