@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | * |
81 | 81 | * @param string $page Page to get from. |
82 | 82 | * |
83 | - * @return callable |
|
83 | + * @return string |
|
84 | 84 | */ |
85 | 85 | public static function get_page_type_handler( $page ) { |
86 | 86 | return self::get_settable_handler( $page, 'Page_Type' ); |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param string $page Page to get from. |
93 | 93 | * |
94 | - * @return callable |
|
94 | + * @return string |
|
95 | 95 | */ |
96 | 96 | public static function get_page_type_hooker( $page ) { |
97 | 97 | return self::get_settable_handler( $page, 'Page_Hook' ); |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * |
135 | 135 | * @param string $type Type of object. |
136 | 136 | * @param string $page Page name. |
137 | - * @param mixed|null $handler Handler to apply. |
|
137 | + * @param null|callable $handler Handler to apply. |
|
138 | 138 | * |
139 | 139 | * @throws InvalidArgumentException For invalid argument types. |
140 | 140 | */ |