Completed
Push — namespace2 ( 791eac...5c23fb )
by Fabio
08:41
created
framework/Collections/TList.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,6 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
 	/**
83 83
 	 * @param boolean whether this list is read-only or not
84
+	 * @param boolean $value
84 85
 	 */
85 86
 	protected function setReadOnly($value)
86 87
 	{
@@ -90,7 +91,7 @@  discard block
 block discarded – undo
90 91
 	/**
91 92
 	 * Returns an iterator for traversing the items in the list.
92 93
 	 * This method is required by the interface \IteratorAggregate.
93
-	 * @return Iterator an iterator for traversing the items in the list.
94
+	 * @return \ArrayIterator an iterator for traversing the items in the list.
94 95
 	 */
95 96
 	public function getIterator()
96 97
 	{
@@ -283,7 +284,7 @@  discard block
 block discarded – undo
283 284
 	 * Finds the base item.  If found, the item is inserted after it.
284 285
 	 * @param mixed the base item which comes before the second parameter when added to the list
285 286
 	 * @param mixed the item
286
-	 * @return int the index where the item is inserted
287
+	 * @return double the index where the item is inserted
287 288
 	 * @throws TInvalidDataValueException if the base item is not within this list
288 289
 	 * @throws TInvalidOperationException if the list is read-only
289 290
 	 * @since 3.2a
@@ -334,6 +335,7 @@  discard block
 block discarded – undo
334 335
 	 * Merges iterable data into the map.
335 336
 	 * New data will be appended to the end of the existing data.
336 337
 	 * @param mixed the data to be merged with, must be an array or object implementing Traversable
338
+	 * @param \Prado\Web\UI\WebControls\TDataGridColumnCollection|null $data
337 339
 	 * @throws TInvalidDataTypeException If data is neither an array nor an iterator.
338 340
 	 */
339 341
 	public function mergeWith($data)
Please login to merge, or discard this patch.
framework/Collections/TMap.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,6 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
 	/**
88 88
 	 * @param boolean whether this list is read-only or not
89
+	 * @param boolean $value
89 90
 	 */
90 91
 	protected function setReadOnly($value)
91 92
 	{
@@ -95,7 +96,7 @@  discard block
 block discarded – undo
95 96
 	/**
96 97
 	 * Returns an iterator for traversing the items in the list.
97 98
 	 * This method is required by the interface \IteratorAggregate.
98
-	 * @return Iterator an iterator for traversing the items in the list.
99
+	 * @return \ArrayIterator an iterator for traversing the items in the list.
99 100
 	 */
100 101
 	public function getIterator()
101 102
 	{
Please login to merge, or discard this patch.
framework/Collections/TPagedDataSource.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -68,6 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
 	/**
70 70
 	 * @param mixed original data source
71
+	 * @param \Traversable $value
71 72
 	 */
72 73
 	public function setDataSource($value)
73 74
 	{
@@ -93,6 +94,7 @@  discard block
 block discarded – undo
93 94
 
94 95
 	/**
95 96
 	 * @param integer number of items in each page
97
+	 * @param integer $value
96 98
 	 */
97 99
 	public function setPageSize($value)
98 100
 	{
@@ -112,6 +114,7 @@  discard block
 block discarded – undo
112 114
 
113 115
 	/**
114 116
 	 * @param integer current page index
117
+	 * @param integer $value
115 118
 	 */
116 119
 	public function setCurrentPageIndex($value)
117 120
 	{
@@ -130,6 +133,7 @@  discard block
 block discarded – undo
130 133
 
131 134
 	/**
132 135
 	 * @param boolean whether to allow paging
136
+	 * @param boolean $value
133 137
 	 */
134 138
 	public function setAllowPaging($value)
135 139
 	{
@@ -146,6 +150,7 @@  discard block
 block discarded – undo
146 150
 
147 151
 	/**
148 152
 	 * @param boolean whether to allow custom paging
153
+	 * @param boolean $value
149 154
 	 */
150 155
 	public function setAllowCustomPaging($value)
151 156
 	{
@@ -162,6 +167,7 @@  discard block
 block discarded – undo
162 167
 
163 168
 	/**
164 169
 	 * @param integer user-assigned number of items in data source
170
+	 * @param integer $value
165 171
 	 */
166 172
 	public function setVirtualItemCount($value)
167 173
 	{
Please login to merge, or discard this patch.
framework/Collections/TPagedListPageChangedEventParameter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
28 28
 	/**
29 29
 	 * Constructor.
30 30
 	 * @param integer old page index
31
+	 * @param integer $oldPage
31 32
 	 */
32 33
 	public function __construct($oldPage)
33 34
 	{
Please login to merge, or discard this patch.
framework/Collections/TPagedMapIterator.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -34,6 +34,8 @@
 block discarded – undo
34 34
 	/**
35 35
 	 * Constructor.
36 36
 	 * @param array the data to be iterated through
37
+	 * @param integer $startIndex
38
+	 * @param integer $count
37 39
 	 */
38 40
 	public function __construct(TMap $map,$startIndex,$count)
39 41
 	{
Please login to merge, or discard this patch.
framework/Collections/TPriorityList.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,6 +143,7 @@  discard block
 block discarded – undo
143 143
 	/**
144 144
 	 * This must be called internally or when instantiated.
145 145
 	 * @param numeric sets the default priority of inserted items without a specified priority
146
+	 * @param integer $value
146 147
 	 */
147 148
 	protected function setDefaultPriority($value)
148 149
 	{
@@ -160,6 +161,7 @@  discard block
 block discarded – undo
160 161
 	/**
161 162
 	 * This must be called internally or when instantiated.
162 163
 	 * @param integer The precision of numeric priorities.
164
+	 * @param integer $value
163 165
 	 */
164 166
 	protected function setPrecision($value)
165 167
 	{
@@ -169,7 +171,7 @@  discard block
 block discarded – undo
169 171
 	/**
170 172
 	 * Returns an iterator for traversing the items in the list.
171 173
 	 * This method is required by the interface \IteratorAggregate.
172
-	 * @return Iterator an iterator for traversing the items in the list.
174
+	 * @return \ArrayIterator an iterator for traversing the items in the list.
173 175
 	 */
174 176
 	public function getIterator()
175 177
 	{
@@ -596,6 +598,7 @@  discard block
 block discarded – undo
596 598
 	 * Combines the map elements which have a priority below the parameter value
597 599
 	 * @param numeric the cut-off priority.  All items of priority less than this are returned.
598 600
 	 * @param boolean whether or not the input cut-off priority is inclusive.  Default: false, not inclusive.
601
+	 * @param integer $priority
599 602
 	 * @return array the array of priorities keys with values of arrays of items that are below a specified priority.
600 603
 	 *  The priorities are sorted so important priorities, lower numerics, are first.
601 604
 	 */
@@ -616,6 +619,7 @@  discard block
 block discarded – undo
616 619
 	 * Combines the map elements which have a priority above the parameter value
617 620
 	 * @param numeric the cut-off priority.  All items of priority greater than this are returned.
618 621
 	 * @param boolean whether or not the input cut-off priority is inclusive.  Default: true, inclusive.
622
+	 * @param integer $priority
619 623
 	 * @return array the array of priorities keys with values of arrays of items that are above a specified priority.
620 624
 	 *  The priorities are sorted so important priorities, lower numerics, are first.
621 625
 	 */
Please login to merge, or discard this patch.
framework/Collections/TPriorityMap.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,6 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
 	/**
120 120
 	 * @param boolean whether this list is read-only or not
121
+	 * @param boolean $value
121 122
 	 */
122 123
 	protected function setReadOnly($value)
123 124
 	{
@@ -135,6 +136,7 @@  discard block
 block discarded – undo
135 136
 	/**
136 137
 	 * This must be called internally or when instantiated.
137 138
 	 * @param numeric sets the default priority of inserted items without a specified priority
139
+	 * @param integer $value
138 140
 	 */
139 141
 	protected function setDefaultPriority($value)
140 142
 	{
@@ -152,6 +154,7 @@  discard block
 block discarded – undo
152 154
 	/**
153 155
 	 * This must be called internally or when instantiated.
154 156
 	 * @param integer The precision of numeric priorities.
157
+	 * @param integer $value
155 158
 	 */
156 159
 	protected function setPrecision($value)
157 160
 	{
@@ -161,7 +164,7 @@  discard block
 block discarded – undo
161 164
 	/**
162 165
 	 * Returns an iterator for traversing the items in the map.
163 166
 	 * This method is required by the interface \IteratorAggregate.
164
-	 * @return Iterator an iterator for traversing the items in the map.
167
+	 * @return \ArrayIterator an iterator for traversing the items in the map.
165 168
 	 */
166 169
 	public function getIterator()
167 170
 	{
@@ -342,7 +345,7 @@  discard block
 block discarded – undo
342 345
 	 * @param mixed key
343 346
 	 * @param mixed value
344 347
 	 * @param numeric|null priority, default: null, filled in with default priority
345
-	 * @return numeric priority at which the pair was added
348
+	 * @return string priority at which the pair was added
346 349
 	 * @throws TInvalidOperationException if the map is read-only
347 350
 	 */
348 351
 	public function add($key,$value,$priority=null)
Please login to merge, or discard this patch.
framework/Collections/TQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 	/**
150 150
 	 * Returns an iterator for traversing the items in the queue.
151 151
 	 * This method is required by the interface \IteratorAggregate.
152
-	 * @return Iterator an iterator for traversing the items in the queue.
152
+	 * @return \ArrayIterator an iterator for traversing the items in the queue.
153 153
 	 */
154 154
 	public function getIterator()
155 155
 	{
Please login to merge, or discard this patch.
framework/Collections/TStack.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
 	/**
149 149
 	 * Returns an iterator for traversing the items in the stack.
150 150
 	 * This method is required by the interface \IteratorAggregate.
151
-	 * @return Iterator an iterator for traversing the items in the stack.
151
+	 * @return \ArrayIterator an iterator for traversing the items in the stack.
152 152
 	 */
153 153
 	public function getIterator()
154 154
 	{
Please login to merge, or discard this patch.