summaryrefslogtreecommitdiff
path: root/src/DTS/Old.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-11-10 20:46:08 +0000
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-11-10 20:46:08 +0000
commitf130f495e54a890c0fe3c8f790a8e48a54f41e02 (patch)
tree5a02c8d7aec82b08ba1c6090bce3df5fd3bd4d05 /src/DTS/Old.php
parent80d9e02ea47bfb783cc2033162ae9231551e5654 (diff)
Get it work with PHP 7
Diffstat (limited to 'src/DTS/Old.php')
-rw-r--r--src/DTS/Old.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DTS/Old.php b/src/DTS/Old.php
index 8545f8d..b02946f 100644
--- a/src/DTS/Old.php
+++ b/src/DTS/Old.php
@@ -23,7 +23,7 @@ class Old
}
}
- public function get(string $key, mixed $default = null): mixed
+ public function get(string $key, $default = null)
{
return $this->old[$key] ?? $default;
}