We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e9c018 commit 3e331c1Copy full SHA for 3e331c1
1 file changed
tests/HookTest.php
@@ -105,7 +105,12 @@ public function testParamValuesCanBeSet()
105
->param('x', '', new Numeric())
106
->param('y', '', new Numeric());
107
108
- foreach ($this->hook->getParams() as $key => $param) {
+ /**
109
+ * @var array $params
110
+ */
111
+ $params = $this->hook->getParams();
112
+
113
+ foreach ($params as $key => $param) {
114
$this->hook->setParamValue($key, $values[$key]);
115
}
116
0 commit comments