Skip to content

Commit 4034eaa

Browse files
Add types to public and protected properties
1 parent c15060d commit 4034eaa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Adapter/AbstractConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
abstract class AbstractConnection implements ConnectionInterface
2121
{
22-
protected $config;
22+
protected array $config;
2323

2424
public function __construct(array $config = [])
2525
{

Adapter/AbstractQuery.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
*/
2020
abstract class AbstractQuery implements QueryInterface
2121
{
22-
protected $connection;
23-
protected $dn;
24-
protected $query;
25-
protected $options;
22+
protected ConnectionInterface $connection;
23+
protected string $dn;
24+
protected string $query;
25+
protected array $options;
2626

2727
public function __construct(ConnectionInterface $connection, string $dn, string $query, array $options = [])
2828
{

0 commit comments

Comments
 (0)