We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25600f2 commit 7c5772cCopy full SHA for 7c5772c
composer.json
@@ -5,7 +5,7 @@
5
"homepage": "https://github.com/bobthecow/Ruler",
6
"license": "MIT",
7
"require": {
8
- "php": ">=8.0"
+ "php": ">=7.4"
9
},
10
"require-dev": {
11
"phpunit/phpunit": "^8.5.12 | ^9"
src/Ruler/Context.php
@@ -87,7 +87,8 @@ public function offsetExists($name): bool
87
*
88
* @throws \InvalidArgumentException if the name is not defined
89
*/
90
- public function offsetGet($name): mixed
+ #[\ReturnTypeWillChange]
91
+ public function offsetGet($name)
92
{
93
if (!$this->offsetExists($name)) {
94
throw new \InvalidArgumentException(sprintf('Fact "%s" is not defined.', $name));
0 commit comments