From 58c2f095dc586b70407e2ea3da75c5e46764e0cf Mon Sep 17 00:00:00 2001 From: Lorenzo Yario Date: Sun, 22 Dec 2024 14:49:27 -0600 Subject: [PATCH] 7.4 compatibility --- inc/context.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/context.php b/inc/context.php index 9e5caef0..e047a782 100644 --- a/inc/context.php +++ b/inc/context.php @@ -16,7 +16,7 @@ class Context { $this->definitions = $definitions; } - public function get(string $name): mixed { + public function get(string $name){ if (!isset($this->definitions[$name])) { throw new \RuntimeException("Could not find a dependency named $name"); }