Skip to content

Commit a0d3391

Browse files
committed
tweak: callable docblock syntax
1 parent 96c7bc4 commit a0d3391

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/CallbackTypeSafeGetter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ public function getDateTime(
1818
* @template T of object
1919
* @param string $name
2020
* @param class-string<T> $className
21-
* @param callable():<T> $callback
21+
* @param callable(T):mixed $callback
2222
* @return T
2323
*/
2424
public function getInstance(
2525
string $name,
2626
string $className,
2727
callable $callback,
28-
);
28+
):object;
2929
}

0 commit comments

Comments
 (0)