Completed
Push — autoload ( 4808d1...dcd67f )
by Fabio
60:18 queued 50:52
created
framework/Collections/TMap.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -80,6 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
 	/**
82 82
 	 * @param boolean whether this list is read-only or not
83
+	 * @param boolean $value
83 84
 	 */
84 85
 	protected function setReadOnly($value)
85 86
 	{
@@ -220,6 +221,7 @@  discard block
 block discarded – undo
220 221
 	 * Merges iterable data into the map.
221 222
 	 * Existing data in the map will be kept and overwritten if the keys are the same.
222 223
 	 * @param mixed the data to be merged with, must be an array or object implementing Traversable
224
+	 * @param TMap $data
223 225
 	 * @throws TInvalidDataTypeException If data is neither an array nor an iterator.
224 226
 	 */
225 227
 	public function mergeWith($data)
Please login to merge, or discard this patch.
framework/Collections/TPagedList.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -92,6 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
 	/**
94 94
 	 * @param boolean whether to allow custom paging
95
+	 * @param boolean $value
95 96
 	 */
96 97
 	public function setCustomPaging($value)
97 98
 	{
@@ -139,6 +140,7 @@  discard block
 block discarded – undo
139 140
 	 * Raises <b>OnPageIndexChanged</b> event.
140 141
 	 * This event is raised each time when the list changes to a different page.
141 142
 	 * @param TPagedListPageChangedEventParameter event parameter
143
+	 * @param TPagedListPageChangedEventParameter|null $param
142 144
 	 */
143 145
 	public function onPageIndexChanged($param)
144 146
 	{
@@ -151,6 +153,7 @@  discard block
 block discarded – undo
151 153
 	 * and needs the new page of data. This event can only be raised when
152 154
 	 * {@link setCustomPaging CustomPaging} is true.
153 155
 	 * @param TPagedListFetchDataEventParameter event parameter
156
+	 * @param TPagedListFetchDataEventParameter $param
154 157
 	 */
155 158
 	public function onFetchData($param)
156 159
 	{
@@ -380,6 +383,7 @@  discard block
 block discarded – undo
380 383
 	/**
381 384
 	 * Constructor.
382 385
 	 * @param integer old page index
386
+	 * @param integer $oldPage
383 387
 	 */
384 388
 	public function __construct($oldPage)
385 389
 	{
Please login to merge, or discard this patch.
framework/Collections/TPriorityList.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -137,6 +137,7 @@  discard block
 block discarded – undo
137 137
 	/**
138 138
 	 * This must be called internally or when instantiated.
139 139
 	 * @param numeric sets the default priority of inserted items without a specified priority
140
+	 * @param integer $value
140 141
 	 */
141 142
 	protected function setDefaultPriority($value)
142 143
 	{
@@ -154,6 +155,7 @@  discard block
 block discarded – undo
154 155
 	/**
155 156
 	 * This must be called internally or when instantiated.
156 157
 	 * @param integer The precision of numeric priorities.
158
+	 * @param integer $value
157 159
 	 */
158 160
 	protected function setPrecision($value)
159 161
 	{
@@ -590,6 +592,7 @@  discard block
 block discarded – undo
590 592
 	 * Combines the map elements which have a priority below the parameter value
591 593
 	 * @param numeric the cut-off priority.  All items of priority less than this are returned.
592 594
 	 * @param boolean whether or not the input cut-off priority is inclusive.  Default: false, not inclusive.
595
+	 * @param integer $priority
593 596
 	 * @return array the array of priorities keys with values of arrays of items that are below a specified priority.
594 597
 	 *  The priorities are sorted so important priorities, lower numerics, are first.
595 598
 	 */
@@ -610,6 +613,7 @@  discard block
 block discarded – undo
610 613
 	 * Combines the map elements which have a priority above the parameter value
611 614
 	 * @param numeric the cut-off priority.  All items of priority greater than this are returned.
612 615
 	 * @param boolean whether or not the input cut-off priority is inclusive.  Default: true, inclusive.
616
+	 * @param integer $priority
613 617
 	 * @return array the array of priorities keys with values of arrays of items that are above a specified priority.
614 618
 	 *  The priorities are sorted so important priorities, lower numerics, are first.
615 619
 	 */
Please login to merge, or discard this patch.
framework/Collections/TPriorityMap.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,6 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
 	/**
116 116
 	 * @param boolean whether this list is read-only or not
117
+	 * @param boolean $value
117 118
 	 */
118 119
 	protected function setReadOnly($value)
119 120
 	{
@@ -131,6 +132,7 @@  discard block
 block discarded – undo
131 132
 	/**
132 133
 	 * This must be called internally or when instantiated.
133 134
 	 * @param numeric sets the default priority of inserted items without a specified priority
135
+	 * @param integer $value
134 136
 	 */
135 137
 	protected function setDefaultPriority($value)
136 138
 	{
@@ -148,6 +150,7 @@  discard block
 block discarded – undo
148 150
 	/**
149 151
 	 * This must be called internally or when instantiated.
150 152
 	 * @param integer The precision of numeric priorities.
153
+	 * @param integer $value
151 154
 	 */
152 155
 	protected function setPrecision($value)
153 156
 	{
@@ -338,7 +341,7 @@  discard block
 block discarded – undo
338 341
 	 * @param mixed key
339 342
 	 * @param mixed value
340 343
 	 * @param numeric|null priority, default: null, filled in with default priority
341
-	 * @return numeric priority at which the pair was added
344
+	 * @return string priority at which the pair was added
342 345
 	 * @throws TInvalidOperationException if the map is read-only
343 346
 	 */
344 347
 	public function add($key,$value,$priority=null)
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecord.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -505,6 +505,7 @@  discard block
 block discarded – undo
505 505
 	 * Delete multiple records using a criteria.
506 506
 	 * @param string|TActiveRecordCriteria SQL condition or criteria object.
507 507
 	 * @param mixed parameter values.
508
+	 * @param TActiveRecordCriteria $criteria
508 509
 	 * @return int number of records deleted.
509 510
 	 */
510 511
 	public function deleteAll($criteria=null, $parameters=array())
@@ -571,6 +572,7 @@  discard block
 block discarded – undo
571 572
 	 *
572 573
 	 * @param string|TActiveRecordCriteria SQL condition or criteria object.
573 574
 	 * @param mixed parameter values.
575
+	 * @param TActiveRecordCriteria $criteria
574 576
 	 * @return TActiveRecord matching record object. Null if no result is found.
575 577
 	 */
576 578
 	public function find($criteria,$parameters=array())
@@ -587,6 +589,7 @@  discard block
 block discarded – undo
587 589
 	 *
588 590
 	 * @param string|TActiveRecordCriteria SQL condition or criteria object.
589 591
 	 * @param mixed parameter values.
592
+	 * @param TActiveRecordCriteria $criteria
590 593
 	 * @return array matching record objects. Empty array if no result is found.
591 594
 	 */
592 595
 	public function findAll($criteria=null,$parameters=array())
@@ -700,6 +703,7 @@  discard block
 block discarded – undo
700 703
 	 * Find the number of records.
701 704
 	 * @param string|TActiveRecordCriteria SQL condition or criteria object.
702 705
 	 * @param mixed parameter values.
706
+	 * @param TActiveRecordCriteria $criteria
703 707
 	 * @return int number of records.
704 708
 	 */
705 709
 	public function count($criteria=null,$parameters=array())
@@ -715,6 +719,7 @@  discard block
 block discarded – undo
715 719
 	 * value equal to the $property value.
716 720
 	 * @param string relationship/property name corresponding to keys in $RELATION array.
717 721
 	 * @param array method call arguments.
722
+	 * @param string $name
718 723
 	 * @return TActiveRecordRelation, null if the context or the handler doesn't exist
719 724
 	 */
720 725
 	protected function getRelationHandler($name,$args=array())
@@ -939,6 +944,7 @@  discard block
 block discarded – undo
939 944
 	 * Raised before the record attempt to insert its data into the database.
940 945
 	 * To prevent the insert operation, set the TActiveRecordChangeEventParameter::IsValid parameter to false.
941 946
 	 * @param TActiveRecordChangeEventParameter event parameter to be passed to the event handlers
947
+	 * @param TActiveRecordChangeEventParameter $param
942 948
 	 */
943 949
 	public function onInsert($param)
944 950
 	{
@@ -949,6 +955,7 @@  discard block
 block discarded – undo
949 955
 	 * Raised before the record attempt to delete its data from the database.
950 956
 	 * To prevent the delete operation, set the TActiveRecordChangeEventParameter::IsValid parameter to false.
951 957
 	 * @param TActiveRecordChangeEventParameter event parameter to be passed to the event handlers
958
+	 * @param TActiveRecordChangeEventParameter $param
952 959
 	 */
953 960
 	public function onDelete($param)
954 961
 	{
@@ -959,6 +966,7 @@  discard block
 block discarded – undo
959 966
 	 * Raised before the record attempt to update its data in the database.
960 967
 	 * To prevent the update operation, set the TActiveRecordChangeEventParameter::IsValid parameter to false.
961 968
 	 * @param TActiveRecordChangeEventParameter event parameter to be passed to the event handlers
969
+	 * @param TActiveRecordChangeEventParameter $param
962 970
 	 */
963 971
 	public function onUpdate($param)
964 972
 	{
@@ -1042,7 +1050,7 @@  discard block
 block discarded – undo
1042 1050
     
1043 1051
     	/**
1044 1052
      	* Return record data as JSON
1045
-     	* @return JSON
1053
+     	* @return string
1046 1054
      	* @since 3.2.4
1047 1055
      	*/
1048 1056
     	public function toJSON(){
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecordManager.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
 	/**
69 69
 	 * @param ICache application cache
70
+	 * @param ICache $value
70 71
 	 */
71 72
 	public function setCache($value)
72 73
 	{
@@ -75,6 +76,7 @@  discard block
 block discarded – undo
75 76
 
76 77
 	/**
77 78
 	 * @param TDbConnection default database connection
79
+	 * @param TDbConnection $conn
78 80
 	 */
79 81
 	public function setDbConnection($conn)
80 82
 	{
@@ -90,6 +92,7 @@  discard block
 block discarded – undo
90 92
 	}
91 93
 
92 94
 	/**
95
+	 * @param TComponent $self
93 96
 	 * @return TActiveRecordManager static instance of record manager.
94 97
 	 */
95 98
 	public static function getInstance($self=null)
@@ -152,6 +155,7 @@  discard block
 block discarded – undo
152 155
 	/**
153 156
 	 * Define the way an active record finder react if an invalid magic-finder invoked
154 157
 	 * @param TActiveRecordInvalidFinderResult
158
+	 * @param TActiveRecordInvalidFinderResult $value
155 159
 	 * @since 3.1.5
156 160
 	 * @see getInvalidFinderResult
157 161
 	 */
Please login to merge, or discard this patch.
framework/Data/DataGateway/TTableGateway.php 1 patch
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,6 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
 	/**
102 102
 	 * @param TDbTableInfo table or view information.
103
+	 * @param TDbTableInfo $tableInfo
103 104
 	 */
104 105
 	protected function setTableInfo($tableInfo)
105 106
 	{
@@ -110,6 +111,7 @@  discard block
 block discarded – undo
110 111
 	/**
111 112
 	 * Sets up the command builder for the given table.
112 113
 	 * @param string table or view name.
114
+	 * @param string $tableName
113 115
 	 */
114 116
 	protected function setTableName($tableName)
115 117
 	{
@@ -185,7 +187,7 @@  discard block
 block discarded – undo
185 187
 	 * Execute arbituary sql command with binding parameters.
186 188
 	 * @param string SQL query string.
187 189
 	 * @param array binding parameters, positional or named.
188
-	 * @return array query results.
190
+	 * @return TDbDataReader query results.
189 191
 	 */
190 192
 	public function findBySql($sql, $parameters=array())
191 193
 	{
@@ -222,6 +224,7 @@  discard block
 block discarded – undo
222 224
 	 *
223 225
 	 * @param string|TSqlCriteria SQL condition or criteria object.
224 226
 	 * @param mixed parameter values.
227
+	 * @param TActiveRecordCriteria $criteria
225 228
 	 * @return array matching record object.
226 229
 	 */
227 230
 	public function find($criteria, $parameters=array())
@@ -235,6 +238,7 @@  discard block
 block discarded – undo
235 238
 	 * Accepts same parameters as find(), but returns TDbDataReader instead.
236 239
 	 * @param string|TSqlCriteria SQL condition or criteria object.
237 240
 	 * @param mixed parameter values.
241
+	 * @param TActiveRecordCriteria $criteria
238 242
 	 * @return TDbDataReader matching records.
239 243
 	 */
240 244
 	public function findAll($criteria=null, $parameters=array())
@@ -297,6 +301,7 @@  discard block
 block discarded – undo
297 301
 	 * </code>
298 302
 	 * @param string delete condition.
299 303
 	 * @param array condition parameters.
304
+	 * @param TActiveRecordCriteria $criteria
300 305
 	 * @return integer number of records deleted.
301 306
 	 */
302 307
 	public function deleteAll($criteria, $parameters=array())
@@ -385,7 +390,7 @@  discard block
 block discarded – undo
385 390
 	 * Inserts a new record into the table. Each array key must
386 391
 	 * correspond to a column name in the table unless a null value is permitted.
387 392
 	 * @param array new record data.
388
-	 * @return mixed last insert id if one column contains a serial or sequence,
393
+	 * @return string|boolean last insert id if one column contains a serial or sequence,
389 394
 	 * otherwise true if command executes successfully and affected 1 or more rows.
390 395
 	 */
391 396
 	public function insert($data)
@@ -394,7 +399,7 @@  discard block
 block discarded – undo
394 399
 	}
395 400
 
396 401
 	/**
397
-	 * @return mixed last insert id, null if none is found.
402
+	 * @return string|null last insert id, null if none is found.
398 403
 	 */
399 404
 	public function getLastInsertId()
400 405
 	{
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,6 +129,7 @@  discard block
 block discarded – undo
129 129
 	/**
130 130
 	 * Register a mapped statement that will trigger a cache flush.
131 131
 	 * @param TMappedStatement mapped statement that may flush the cache.
132
+	 * @param IMappedStatement $mappedStatement
132 133
 	 */
133 134
 	public function registerTriggerStatement($mappedStatement)
134 135
 	{
@@ -145,6 +146,7 @@  discard block
 block discarded – undo
145 146
 
146 147
 	/**
147 148
 	 * @param TSqlMapCacheKey|string cache key
149
+	 * @param string $key
148 150
 	 * @return mixed cached value.
149 151
 	 */
150 152
 	public function get($key)
@@ -163,6 +165,7 @@  discard block
 block discarded – undo
163 165
 	/**
164 166
 	 * @param TSqlMapCacheKey|string cache key
165 167
 	 * @param mixed value to be cached.
168
+	 * @param string $key
166 169
 	 */
167 170
 	public function set($key, $value)
168 171
 	{
@@ -174,7 +177,7 @@  discard block
 block discarded – undo
174 177
 	}
175 178
 
176 179
 	/**
177
-	 * @return float cache hit ratio.
180
+	 * @return integer cache hit ratio.
178 181
 	 */
179 182
 	public function getHitRatio()
180 183
 	{
@@ -223,7 +226,7 @@  discard block
 block discarded – undo
223 226
 	}
224 227
 
225 228
 	/**
226
-	 * @param string serialized object
229
+	 * @param string string object
227 230
 	 * @return string crc32 hash of the serialized object.
228 231
 	 */
229 232
 	protected function generateKey($string)
Please login to merge, or discard this patch.
framework/Data/SqlMap/DataMapper/TSqlMapCache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -205,6 +205,9 @@
 block discarded – undo
205 205
 		return $keyList;
206 206
 	}
207 207
 
208
+	/**
209
+	 * @param TList $keyList
210
+	 */
208 211
 	protected function setKeyList($keyList)
209 212
 	{
210 213
 		$this->getCache()->set($this->getKeyListId(), $keyList);
Please login to merge, or discard this patch.