Completed
Pull Request — master (#12)
by
unknown
02:56
created
src/Traits/CommonMutableContainerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * {@inheritDoc}
72
-     * @return $this
72
+     * @return Dictionary
73 73
      */
74 74
     public function groupBy($callback)
75 75
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
     /**
92 92
      * {@inheritDoc}
93
-     * @return $this
93
+     * @return Dictionary
94 94
      */
95 95
     public function indexBy($callback)
96 96
     {
Please login to merge, or discard this patch.
src/MapInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * @param $key - The key to set a value.
23 23
      * @param $value - The value to add.
24 24
      *
25
-     * @return  - A shallow copy of the updated current collection itself.
25
+     * @return  Dictionary A shallow copy of the updated current collection itself.
26 26
      */
27 27
     public function add($key, $value);
28 28
 }
Please login to merge, or discard this patch.
src/Set.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
      */
111 111
     public function removeAll(Iterable $iterable)
112 112
     {
113
-        $iterable->each(function ($item) {
113
+        $iterable->each(function($item) {
114 114
             if ($this->contains($item)) {
115 115
                 $this->remove($item);
116 116
             }
Please login to merge, or discard this patch.
src/Traits/StrictKeyedIterableTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -242,8 +242,8 @@
 block discarded – undo
242 242
     {
243 243
         /** @var MapInterface $results */
244 244
         $results = new static();
245
-        $this->each(function (Iterable $subArray) use ($results) {
246
-            $subArray->each(function ($item, $key) use ($results) {
245
+        $this->each(function(Iterable $subArray) use ($results) {
246
+            $subArray->each(function($item, $key) use ($results) {
247 247
                 $results->add($key, $item);
248 248
             });
249 249
         });
Please login to merge, or discard this patch.
src/Traits/StrictIterableTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -245,8 +245,8 @@
 block discarded – undo
245 245
     {
246 246
         /** @var VectorInterface $results */
247 247
         $results = new static();
248
-        $this->each(function (Iterable $subArray) use ($results) {
249
-            $subArray->each(function ($item) use ($results) {
248
+        $this->each(function(Iterable $subArray) use ($results) {
249
+            $subArray->each(function($item) use ($results) {
250 250
                 $results->add($item);
251 251
             });
252 252
         });
Please login to merge, or discard this patch.