Completed
Push — master ( 575183...a42fdf )
by Michał
02:19
created
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.
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.
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.