@@ -77,6 +77,7 @@ discard block |
||
| 77 | 77 | * Example: Func::compose(f, g, h)(x) is the equivalent of f(g(h(x))). |
| 78 | 78 | * |
| 79 | 79 | * @param callable[] ...$callables The callables to compose. |
| 80 | + * @param string $callables |
|
| 80 | 81 | * @return \Closure |
| 81 | 82 | */ |
| 82 | 83 | public static function compose(callable ...$callables) : \Closure |
@@ -185,6 +186,7 @@ discard block |
||
| 185 | 186 | * |
| 186 | 187 | * @param callable $callback The callable to wrap. |
| 187 | 188 | * @param mixed ...$prependedArgs The arguments to prepend to the callback. |
| 189 | + * @param string $prependedArgs |
|
| 188 | 190 | * @return \Closure The wrapper. |
| 189 | 191 | */ |
| 190 | 192 | public static function partial(callable $callback, ...$prependedArgs) : \Closure |
@@ -200,6 +202,7 @@ discard block |
||
| 200 | 202 | * |
| 201 | 203 | * @param callable $callback The callable to wrap. |
| 202 | 204 | * @param mixed ...$appendedArgs The arguments to append to the callback. |
| 205 | + * @param string $appendedArgs |
|
| 203 | 206 | * @return \Closure The wrapper. |
| 204 | 207 | */ |
| 205 | 208 | public static function partialRight(callable $callback, ...$appendedArgs) : \Closure |
@@ -44,6 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * @see \nyx\core\collections\interfaces\Sequence::prepend() |
| 47 | + * @param \nyx\diagnostics\debug\Frame $item |
|
| 47 | 48 | */ |
| 48 | 49 | public function prepend($item) : interfaces\Sequence |
| 49 | 50 | { |
@@ -84,6 +85,7 @@ discard block |
||
| 84 | 85 | |
| 85 | 86 | /** |
| 86 | 87 | * @see \nyx\core\collections\interfaces\Sequence::contains() |
| 88 | + * @param \nyx\diagnostics\debug\Frame $item |
|
| 87 | 89 | */ |
| 88 | 90 | public function contains($item) : bool |
| 89 | 91 | { |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | * |
| 157 | 157 | * @param string $name The name of the Event to emit {@see definitions/Events}. |
| 158 | 158 | * @param \Throwable $exception The initial Exception to be passed to listeners. |
| 159 | - * @return \Exception|null Either an Exception when event emission occurred or null if no Emitter |
|
| 159 | + * @return null|\Throwable Either an Exception when event emission occurred or null if no Emitter |
|
| 160 | 160 | * is set and therefore no events were emitted. |
| 161 | 161 | */ |
| 162 | 162 | protected function emitDebugEvent($name, \Throwable $exception) |
@@ -18,6 +18,7 @@ |
||
| 18 | 18 | * Handles a Throwable. |
| 19 | 19 | * |
| 20 | 20 | * @param \Throwable $throwable |
| 21 | + * @return void |
|
| 21 | 22 | */ |
| 22 | 23 | public function handle(\Throwable $throwable); |
| 23 | 24 | } |
@@ -16,6 +16,7 @@ |
||
| 16 | 16 | * Handles error-related cleanups. Intended to be registered as shutdown function with PHP. Implementations |
| 17 | 17 | * should attempt to check if any error occurred before shutdown and if so, determine whether it was a fatal |
| 18 | 18 | * error and handle it gracefully. |
| 19 | + * @return void |
|
| 19 | 20 | */ |
| 20 | 21 | public function onShutdown(); |
| 21 | 22 | } |
@@ -17,6 +17,7 @@ discard block |
||
| 17 | 17 | * @param array|Notifiable $notifiables The entities which shall receive the Notification (single Notifiable |
| 18 | 18 | * or an iterable collection thereof). |
| 19 | 19 | * @param Notification $notification The Notification that shall be sent. |
| 20 | + * @return void |
|
| 20 | 21 | */ |
| 21 | 22 | public function send($notifiables, Notification $notification); |
| 22 | 23 | |
@@ -26,6 +27,7 @@ discard block |
||
| 26 | 27 | * @param array|Notifiable $notifiables The entities which shall receive the Notification (single Notifiable |
| 27 | 28 | * or an iterable collection thereof). |
| 28 | 29 | * @param Notification $notification The Notification that shall be sent. |
| 30 | + * @return void |
|
| 29 | 31 | */ |
| 30 | 32 | public function sendNow($notifiables, Notification $notification); |
| 31 | 33 | } |
@@ -17,6 +17,7 @@ |
||
| 17 | 17 | * @param Notifiable $notifiable The Notifiable to send the Notification to. |
| 18 | 18 | * @param Notification $notification The Notification to send. |
| 19 | 19 | * @throws \InvalidArgumentException When the Notification is not supported by this Transport. |
| 20 | + * @return void |
|
| 20 | 21 | */ |
| 21 | 22 | public function send(Notifiable $notifiable, Notification $notification); |
| 22 | 23 | |
@@ -19,11 +19,13 @@ |
||
| 19 | 19 | { |
| 20 | 20 | /** |
| 21 | 21 | * Starts the Driver's process. |
| 22 | + * @return void |
|
| 22 | 23 | */ |
| 23 | 24 | public function start(); |
| 24 | 25 | |
| 25 | 26 | /** |
| 26 | 27 | * Stops the Driver's process. |
| 28 | + * @return void |
|
| 27 | 29 | */ |
| 28 | 30 | public function stop(); |
| 29 | 31 | |
@@ -19,6 +19,7 @@ |
||
| 19 | 19 | * @param Tokens $input The Tokens to be parsed. |
| 20 | 20 | * @param values\Arguments $arguments The Input Arguments to fill. |
| 21 | 21 | * @param values\Options $options The Input Options to fill. |
| 22 | + * @return void |
|
| 22 | 23 | */ |
| 23 | 24 | public function parse(Tokens $input, values\Arguments $arguments, values\Options $options) : void; |
| 24 | 25 | } |