@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * Creates a new instance |
| 51 | - * @param string|array $handler |
|
| 51 | + * @param string $handler |
|
| 52 | 52 | * @param array $constructor_arguments Optional arguments to pass to the class constructor. |
| 53 | 53 | */ |
| 54 | 54 | public function __construct($handler, $constructor_arguments = []) |
@@ -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 | */ |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | |
| 147 | 147 | /** |
| 148 | 148 | * Extracts the class name (no method present) from a single string. |
| 149 | - * @param string|array $handler The handler parameter |
|
| 149 | + * @param string $handler The handler parameter |
|
| 150 | 150 | * @return void |
| 151 | 151 | * @throws \InvalidArgumentException |
| 152 | 152 | */ |