apply rules rector up to php82

This commit is contained in:
2023-05-01 21:39:45 +02:00
parent 81e8928344
commit 6d63177ff4
733 changed files with 1257 additions and 1322 deletions

View File

@@ -28,14 +28,14 @@ use Psr\Log\LoggerInterface;
class OvhShortMessageSender implements ShortMessageSenderInterface
{
public function __construct(
private Api $api,
private readonly Api $api,
// for DI, must remains as first argument
private string $serviceName,
private readonly string $serviceName,
// for di, must remains as second argument
private string $sender,
private readonly string $sender,
// for DI, must remains as third argument
private LoggerInterface $logger,
private PhoneNumberUtil $phoneNumberUtil
private readonly LoggerInterface $logger,
private readonly PhoneNumberUtil $phoneNumberUtil
) {
}