Completed
Push — master ( 0835af...9df346 )
by Fabio
06:12
created
framework/Collections/TPriorityMap.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	 * Initializes the array with an array or an iterable object.
88 88
 	 * @param null|array|Iterator|map|TPriorityMap $data the intial data. Default is null, meaning no initialization.
89 89
 	 * @param bool $readOnly whether the list is read-only
90
-	 * @param numeric $defaultPriority the default priority of items without specified priorities.
90
+	 * @param integer $defaultPriority the default priority of items without specified priorities.
91 91
 	 * @param int $precision the precision of the numeric priorities
92 92
 	 * @throws TInvalidDataTypeException If data is not null and neither an array nor an iterator.
93 93
 	 */
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
 	/**
113 113
 	 * This must be called internally or when instantiated.
114
-	 * @param numeric $value sets the default priority of inserted items without a specified priority
114
+	 * @param integer $value sets the default priority of inserted items without a specified priority
115 115
 	 */
116 116
 	protected function setDefaultPriority($value)
117 117
 	{
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	/**
139 139
 	 * Returns an iterator for traversing the items in the map.
140 140
 	 * This method is required by the interface \IteratorAggregate.
141
-	 * @return Iterator an iterator for traversing the items in the map.
141
+	 * @return \ArrayIterator an iterator for traversing the items in the map.
142 142
 	 */
143 143
 	public function getIterator()
144 144
 	{
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 	/**
225 225
 	 * Returns the item with the specified key.  If a priority is specified, only items
226 226
 	 * within that specific priority will be selected
227
-	 * @param mixed $key the key
227
+	 * @param string $key the key
228 228
 	 * @param mixed $priority the priority.  null is the default priority, false is any priority,
229 229
 	 * and numeric is a specific priority.  default: false, any priority.
230 230
 	 * @return mixed the element at the offset, null if no element is found at the offset
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
 	 * @param mixed $value
324 324
 	 * @param null|numeric $priority default: null, filled in with default priority
325 325
 	 * @throws TInvalidOperationException if the map is read-only
326
-	 * @return numeric priority at which the pair was added
326
+	 * @return string priority at which the pair was added
327 327
 	 */
328 328
 	public function add($key, $value, $priority = null)
329 329
 	{
Please login to merge, or discard this patch.