Completed
Push — master ( a5119c...b82fec )
by John
11:27
created
src/Map/HashMap.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 	
67 67
 	/**
68 68
 	 * Returns a Set view of the mappings contained in this map.
69
-	 * @return SetInterface
69
+	 * @return TupleSet
70 70
 	*/
71 71
 	public function entrySet()
72 72
 	{
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	
117 117
 	/**
118 118
 	 * Returns a Set view of the keys contained in this map.
119
-	 * @return SetInterface
119
+	 * @return ArraySet
120 120
 	*/
121 121
 	public function keySet()
122 122
 	{
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 	
182 182
 	/**
183 183
 	 * Returns a Collection view of the values contained in this map.
184
-	 * @return CollectionInterface
184
+	 * @return ArrayList
185 185
 	*/
186 186
 	public function values()
187 187
 	{
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,11 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Jmw\Collection\Map;
3 3
 
4
-use Jmw\Collection\Set\SetAbstract;
4
+use Jmw\Collection\Exception\UnsupportedOperationException;
5 5
 use Jmw\Collection\Lists\ArrayList;
6
-use Jmw\Collection\Set\TupleSet;
7 6
 use Jmw\Collection\Set\ArraySet;
8
-use Jmw\Collection\Exception\UnsupportedOperationException;
7
+use Jmw\Collection\Set\TupleSet;
9 8
 /**
10 9
  * Hash table based implementation of the Map interface. 
11 10
  * This implementation provides all of the optional map operations, 
Please login to merge, or discard this patch.
src/Set/ArraySet.php 1 patch
Unused Use Statements   +1 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,15 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Jmw\Collection\Set;
3 3
 
4
-use Jmw\Collection\Lists\Tuple;
5
-use Jmw\Collection\Lists\ArrayList;
6
-/**
7
- * An implementation of a Set using a php array
8
- * It is advisable to use a HashSet in most instances,
9
- * as it is significantly faster
10
- * @author john
11
- *
12
- */
4
+
13 5
 class ArraySet extends SetAbstract
14 6
 {
15 7
 	/**
Please login to merge, or discard this patch.