summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2022-08-12 14:13:26 +0000
committerwn_ <[email protected]>2022-08-12 14:13:26 +0000
commit93fd85df6f73732d3a6ed280d26224e1877c954f (patch)
tree2b2a4fe2adb98d9e2a975b31069cca7bf66c4a04 /classes/handler.php
parented2cbeffcc456a86726b52d37c977a35b895968c (diff)
Switch to direct type declarations of class properties.
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/classes/handler.php b/classes/handler.php
index 806c9cfbe..5b54570d8 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -1,11 +1,9 @@
<?php
class Handler implements IHandler {
- // TODO: class properties can be switched to PHP typing if/when the minimum PHP_VERSION is raised to 7.4.0+
- /** @var PDO */
- protected $pdo;
+ protected PDO $pdo;
/** @var array<int|string, mixed> */
- protected $args;
+ protected array $args;
/**
* @param array<int|string, mixed> $args