Skip to content

Commit 6f71ad0

Browse files
committed
typed properties
1 parent ad7f3e4 commit 6f71ad0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Services/FileMakerConnection.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@
2222

2323
class FileMakerConnection extends Connection
2424
{
25-
protected $protocol = 'https';
25+
protected string $protocol = 'https';
2626

27-
protected $host;
27+
protected ?string $host;
2828

29-
protected $layout;
29+
protected ?string $layout;
3030

31-
protected $username;
31+
protected ?string $username;
3232

33-
protected $password;
33+
protected ?string $password;
3434

35-
protected $sessionToken;
35+
protected ?string $sessionToken = null;
3636

37-
protected $retries = 1;
37+
protected int $retries = 1;
3838

39-
protected $shouldCacheSessionToken = true;
39+
protected bool $shouldCacheSessionToken = true;
4040

41-
protected $sessionTokenCacheKey;
41+
protected ?string $sessionTokenCacheKey = null;
4242

43-
protected $emptyStringToNull = true;
43+
protected bool $emptyStringToNull = true;
4444

4545
public function __construct($pdo, $database = '', $tablePrefix = '', array $config = [])
4646
{

0 commit comments

Comments
 (0)