Completed
Push — master ( ba5f17...e08424 )
by Michał
02:48
created
src/console/input/Definition.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -70,6 +70,7 @@
 block discarded – undo
70 70
      *                                                  pass a Definition as the first argument to this method right
71 71
      *                                                  away, in which case the default of "true" will be used).
72 72
      * @param   Definition          ...$definitions     The Definitions to merge with this one.
73
+     * @param Definition[] $definitions
73 74
      * @return  Definition                              The merged Definition as a new instance.
74 75
      * @throws  \InvalidArgumentException               When one or more of the parameters is not a Definition
75 76
      *                                                  instance (not including the $mergeArguments bool).
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function __construct($arguments = null, $options = null)
36 36
     {
37 37
         $this->arguments = $arguments instanceof definitions\Arguments ? $arguments : new definitions\Arguments($arguments);
38
-        $this->options   = $arguments instanceof definitions\Options   ? $options   : new definitions\Options($options);
38
+        $this->options   = $arguments instanceof definitions\Options ? $options : new definitions\Options($options);
39 39
     }
40 40
 
41 41
     /**
Please login to merge, or discard this patch.
src/core/collections/traits/Collection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@
 block discarded – undo
294 294
      * retain the functionality of methods like map() or reduce() which return new instances of the Collection.
295 295
      *
296 296
      * @param   mixed   $items          The items to populate the new Collection with.
297
-     * @return  interfaces\Collection
297
+     * @return  Collection
298 298
      */
299 299
     protected function derive($items) : interfaces\Collection
300 300
     {
Please login to merge, or discard this patch.
src/console/interfaces/Input.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
      *
39 39
      * @return  console\input\parameter\values\Arguments
40 40
      */
41
-    public function arguments() : ?console\input\parameter\values\Arguments;
41
+    public function arguments() : ? console\input\parameter\values\Arguments;
42 42
 
43 43
     /**
44 44
      * Returns the Input Options collection.
45 45
      *
46 46
      * @return  console\input\parameter\values\Options
47 47
      */
48
-    public function options() : ?console\input\parameter\values\Options;
48
+    public function options() : ? console\input\parameter\values\Options;
49 49
 }
Please login to merge, or discard this patch.
src/core/collections/interfaces/NamedObjectSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *                                              the Set.
27 27
      * @return  core\interfaces\Named               The object or the default value given if the item couldn't be found.
28 28
      */
29
-    public function get(string $name, core\interfaces\Named $default = null) : ?core\interfaces\Named;
29
+    public function get(string $name, core\interfaces\Named $default = null) : ? core\interfaces\Named;
30 30
 
31 31
     /**
32 32
      * Adds the given Named Object to the Set.
Please login to merge, or discard this patch.
src/core/collections/traits/NamedObjectSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * @see \nyx\core\collections\interfaces\NamedObjectSet::get()
47 47
      */
48
-    public function get(string $name, core\interfaces\Named $default = null) : ?core\interfaces\Named
48
+    public function get(string $name, core\interfaces\Named $default = null) : ? core\interfaces\Named
49 49
     {
50 50
         return $this->items[$name] ?? $default;
51 51
     }
Please login to merge, or discard this patch.
src/utils/Func.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -77,6 +77,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/core/collections/traits/Sequence.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/diagnostics/debug/interfaces/handlers/Exception.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -18,6 +18,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/diagnostics/debug/interfaces/handlers/Shutdown.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.