Skip to content

Commit 3e331c1

Browse files
committed
Fix liner
1 parent 1e9c018 commit 3e331c1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tests/HookTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,12 @@ public function testParamValuesCanBeSet()
105105
->param('x', '', new Numeric())
106106
->param('y', '', new Numeric());
107107

108-
foreach ($this->hook->getParams() as $key => $param) {
108+
/**
109+
* @var array $params
110+
*/
111+
$params = $this->hook->getParams();
112+
113+
foreach ($params as $key => $param) {
109114
$this->hook->setParamValue($key, $values[$key]);
110115
}
111116

0 commit comments

Comments
 (0)