Skip to content

Commit 814d461

Browse files
committed
allow anything as handler
1 parent 6ca33ab commit 814d461

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Command.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace tflori\Commands;
44

5-
use Ulrichsg\Getopt\Option;
5+
use tflori\Getopt\Option;
66

77
class Command
88
{
@@ -24,14 +24,14 @@ class Command
2424
*
2525
* @param string $name
2626
* @param string $shortDescription
27-
* @param callable $handler
27+
* @param mixed $handler
2828
* @param array $options
2929
* @param string $longDescription
3030
*/
3131
public function __construct(
3232
$name,
3333
$shortDescription,
34-
callable $handler,
34+
$handler,
3535
array $options = array(),
3636
$longDescription = ''
3737
) {

0 commit comments

Comments
 (0)