Skip to content

Commit

Permalink
Add types to private and internal properties
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jul 25, 2023
1 parent f83a7c0 commit 9e5d7ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sms77Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ final class Sms77Transport extends AbstractTransport
{
protected const HOST = 'gateway.sms77.io';

private $apiKey;
private $from;
private string $apiKey;
private ?string $from;

public function __construct(#[\SensitiveParameter] string $apiKey, string $from = null, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
{
Expand Down

0 comments on commit 9e5d7ad

Please sign in to comment.