We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96c7bc4 commit a0d3391Copy full SHA for a0d3391
1 file changed
src/CallbackTypeSafeGetter.php
@@ -18,12 +18,12 @@ public function getDateTime(
18
* @template T of object
19
* @param string $name
20
* @param class-string<T> $className
21
- * @param callable():<T> $callback
+ * @param callable(T):mixed $callback
22
* @return T
23
*/
24
public function getInstance(
25
string $name,
26
string $className,
27
callable $callback,
28
- );
+ ):object;
29
}
0 commit comments