Skip to content

Commit e28c25f

Browse files
committed
feat: drop PHP7 support
BREAKING CHANGE: Not compatible with PHP7 anymore
1 parent cf46499 commit e28c25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function applyFilter(string $hookName, ...$arg): mixed {
9595
/**
9696
* @var mixed $result
9797
*/
98-
$result = ($hook["callback"])($result, ...$arg);
98+
$result = $hook["callback"]($result, ...$arg);
9999
}
100100
}
101101

0 commit comments

Comments
 (0)