@@ -48,8 +48,8 @@ discard block |
||
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Creates a new instance |
51 | - * @param string|array $handler |
|
52 | - * @param array $constructor_arguments Optional arguments to pass to the class constructor. |
|
51 | + * @param string $handler |
|
52 | + * @param ArgumentsParser $constructor_arguments Optional arguments to pass to the class constructor. |
|
53 | 53 | */ |
54 | 54 | public function __construct($handler, $constructor_arguments = []) |
55 | 55 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * Calls the requested class and method name passing in the optional arguments. |
63 | - * @param mixed $params Optional parameters to pass to the class method. |
|
63 | + * @param ArgumentsParser $params Optional parameters to pass to the class method. |
|
64 | 64 | * @return void |
65 | 65 | */ |
66 | 66 | public function call($params = null) |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | |
115 | 115 | /** |
116 | 116 | * Extracts the class name and method from the Class Method string in "@" notation (eg. Class@Method). |
117 | - * @param string|array $handler The handler parameter |
|
117 | + * @param string $handler The handler parameter |
|
118 | 118 | * @return void |
119 | 119 | * @throws \InvalidArgumentException |
120 | 120 | */ |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | |
131 | 131 | /** |
132 | 132 | * Extracts the class name and method from the Class Method string in "dot" notation (eg. Class.Method). |
133 | - * @param string|array $handler The handler parameter |
|
133 | + * @param string $handler The handler parameter |
|
134 | 134 | * @return void |
135 | 135 | * @throws \InvalidArgumentException |
136 | 136 | */ |