Skip to content

Commit f8ea228

Browse files
committed
fix typehint in signature
1 parent 0329e4a commit f8ea228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Contracts/Metable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
interface Metable
66
{
7-
public static function hook($method, $hook);
7+
public static function hook($method, Closure $hook);
88
public function getAttribute($key);
99
public function setAttribute($key, $value);
1010
public function getMetaAttributes();

0 commit comments

Comments
 (0)