Completed
Push — intl ( bc3116...d7f4cb )
by Fabio
06:33
created
framework/Web/UI/ActiveControls/TActiveRadioButtonList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
 	/**
78 78
 	 * Creates a control used for repetition (used as a template).
79
-	 * @return TControl the control to be repeated
79
+	 * @return TActiveRadioButtonItem the control to be repeated
80 80
 	 */
81 81
 	protected function createRepeatedControl()
82 82
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDataGridItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 	}
70 70
 
71 71
 	/**
72
-	 * @return TListItemType item type.
72
+	 * @return string item type.
73 73
 	 */
74 74
 	public function getItemType()
75 75
 	{
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_XLIFF.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 namespace Prado\I18N\core;
20 20
 
21 21
 use DOMDocument;
22
-use DOMXPath;
23 22
 use Prado\Exceptions\TException;
24 23
 use Prado\Exceptions\TIOException;
25 24
 
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -497,6 +497,9 @@
 block discarded – undo
497 497
 		return [$variant, $file];
498 498
 	}
499 499
 
500
+	/**
501
+	 * @param string $catalogue
502
+	 */
500 503
 	protected function getTemplate($catalogue)
501 504
 	{
502 505
 		$date = @date('c');
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputBase.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -52,6 +52,10 @@  discard block
 block discarded – undo
52 52
 		}
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param \Prado\Data\ActiveRecord\Scaffold\TScaffoldEditView $parent
57
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
58
+	 */
55 59
 	public function createScaffoldInput($parent, $item, $column, $record)
56 60
 	{
57 61
 		$this->_parent = $parent;
@@ -68,6 +72,10 @@  discard block
 block discarded – undo
68 72
 		$label->setForControl(self::DEFAULT_ID);
69 73
 	}
70 74
 
75
+	/**
76
+	 * @param \Prado\Data\ActiveRecord\Scaffold\TScaffoldEditView $parent
77
+	 * @param \Prado\Data\ActiveRecord\TActiveRecord $record
78
+	 */
71 79
 	public function loadScaffoldInput($parent, $item, $column, $record)
72 80
 	{
73 81
 		$this->_parent = $parent;
Please login to merge, or discard this patch.
framework/Collections/TAttributeCollection.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 	/**
104 104
 	 * Returns the item with the specified key.
105 105
 	 * This overrides the parent implementation by converting the key to lower case first if CaseSensitive is false.
106
-	 * @param mixed $key the key
106
+	 * @param string $key the key
107 107
 	 * @return mixed the element at the offset, null if no element is found at the offset
108 108
 	 */
109 109
 	public function itemAt($key)
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 	/**
116 116
 	 * Adds an item into the map.
117 117
 	 * This overrides the parent implementation by converting the key to lower case first if CaseSensitive is false.
118
-	 * @param mixed $key
118
+	 * @param string $key
119 119
 	 * @param mixed $value
120 120
 	 */
121 121
 	public function add($key, $value)
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	/**
127 127
 	 * Removes an item from the map by its key.
128 128
 	 * This overrides the parent implementation by converting the key to lower case first if CaseSensitive is false.
129
-	 * @param mixed $key the key of the item to be removed
129
+	 * @param string $key the key of the item to be removed
130 130
 	 * @return mixed the removed value, null if no such key exists.
131 131
 	 */
132 132
 	public function remove($key)
Please login to merge, or discard this patch.
framework/Collections/TPagedDataSource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 	}
69 69
 
70 70
 	/**
71
-	 * @param mixed $value original data source
71
+	 * @param \Traversable $value original data source
72 72
 	 */
73 73
 	public function setDataSource($value)
74 74
 	{
Please login to merge, or discard this patch.
framework/Collections/TPagedList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
 	}
290 290
 
291 291
 	/**
292
-	 * @return Iterator iterator
292
+	 * @return \ArrayIterator iterator
293 293
 	 */
294 294
 	public function getIterator()
295 295
 	{
Please login to merge, or discard this patch.
framework/Collections/TPriorityList.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 	 * Initializes the list with an array or an iterable object.
85 85
 	 * @param null|array|Iterator $data the intial data. Default is null, meaning no initial data.
86 86
 	 * @param bool $readOnly whether the list is read-only
87
-	 * @param numeric $defaultPriority the default priority of items without specified priorities.
87
+	 * @param integer $defaultPriority the default priority of items without specified priorities.
88 88
 	 * @param int $precision the precision of the numeric priorities
89 89
 	 * @throws TInvalidDataTypeException If data is not null and is neither an array nor an iterator.
90 90
 	 */
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
 	/**
148 148
 	 * This must be called internally or when instantiated.
149
-	 * @param numeric $value sets the default priority of inserted items without a specified priority
149
+	 * @param integer $value sets the default priority of inserted items without a specified priority
150 150
 	 */
151 151
 	protected function setDefaultPriority($value)
152 152
 	{
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 	/**
174 174
 	 * Returns an iterator for traversing the items in the list.
175 175
 	 * This method is required by the interface \IteratorAggregate.
176
-	 * @return Iterator an iterator for traversing the items in the list.
176
+	 * @return \ArrayIterator an iterator for traversing the items in the list.
177 177
 	 */
178 178
 	public function getIterator()
179 179
 	{
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
 	/**
387 387
 	 * Removes an item from the priority list.
388 388
 	 * The list will search for the item.  The first matching item found will be removed from the list.
389
-	 * @param mixed $item item the item to be removed.
389
+	 * @param callable $item item the item to be removed.
390 390
 	 * @param null|bool|float $priority priority of item to remove. without this parameter it defaults to false.
391 391
 	 * A value of false means any priority. null will be filled in with the default priority.
392 392
 	 * @throws TInvalidDataValueException If the item does not exist
@@ -630,7 +630,7 @@  discard block
 block discarded – undo
630 630
 
631 631
 	/**
632 632
 	 * Combines the map elements which have a priority below the parameter value
633
-	 * @param numeric $priority the cut-off priority.  All items of priority less than this are returned.
633
+	 * @param integer $priority the cut-off priority.  All items of priority less than this are returned.
634 634
 	 * @param bool $inclusive whether or not the input cut-off priority is inclusive.  Default: false, not inclusive.
635 635
 	 * @return array the array of priorities keys with values of arrays of items that are below a specified priority.
636 636
 	 *  The priorities are sorted so important priorities, lower numerics, are first.
@@ -650,7 +650,7 @@  discard block
 block discarded – undo
650 650
 
651 651
 	/**
652 652
 	 * Combines the map elements which have a priority above the parameter value
653
-	 * @param numeric $priority the cut-off priority.  All items of priority greater than this are returned.
653
+	 * @param integer $priority the cut-off priority.  All items of priority greater than this are returned.
654 654
 	 * @param bool $inclusive whether or not the input cut-off priority is inclusive.  Default: true, inclusive.
655 655
 	 * @return array the array of priorities keys with values of arrays of items that are above a specified priority.
656 656
 	 *  The priorities are sorted so important priorities, lower numerics, are first.
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 	}
161 161
 
162 162
 	/**
163
-	 * @return TDataGatewayCommand
163
+	 * @return \Prado\Data\DataGateway\TDataGatewayCommand
164 164
 	 */
165 165
 	protected function getCommandBuilder()
166 166
 	{
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
 	}
169 169
 
170 170
 	/**
171
-	 * @return TDataGatewayCommand
171
+	 * @return \Prado\Data\DataGateway\TDataGatewayCommand
172 172
 	 */
173 173
 	protected function getForeignCommandBuilder()
174 174
 	{
@@ -227,6 +227,7 @@  discard block
 block discarded – undo
227 227
 	 * @param array $foreignKeys field names
228 228
 	 * @param array $indexValues field values
229 229
 	 * @param array $sourceKeys source table column names.
230
+	 * @return \Prado\Data\DataGateway\TDataGatewayCommand
230 231
 	 */
231 232
 	public function createCommand($criteria, $foreignKeys, $indexValues, $sourceKeys)
232 233
 	{
@@ -344,6 +345,9 @@  discard block
 block discarded – undo
344 345
 		return $this->getCommandBuilder()->onExecuteCommand($command, $command->execute()) > 0;
345 346
 	}
346 347
 
348
+	/**
349
+	 * @param TActiveRecord $obj
350
+	 */
347 351
 	private function updateAssociationTable($obj, $fkObjects, $builder)
348 352
 	{
349 353
 		$source = $this->getSourceRecordValues($obj);
Please login to merge, or discard this patch.