Test Failed
Push — master ( 12dee8...9d2c3d )
by Fabio
05:21
created
bin/prado-cli.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
 	}
333 333
 
334 334
 	/**
335
-	 * @param array $appName application id
335
+	 * @param string $appName application id
336 336
 	 * @return string
337 337
 	 */
338 338
 	protected function renderConfigFile($appName)
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
 
590 590
 	/**
591 591
 	 * @param string $app_dir application directory
592
-	 * @return false|string
592
+	 * @return string
593 593
 	 */
594 594
 	protected function getActiveRecordConfig($app_dir)
595 595
 	{
@@ -632,7 +632,7 @@  discard block
 block discarded – undo
632 632
 	 * @param string $config database configuration
633 633
 	 * @param string $tablename table name
634 634
 	 * @param string $output output file name
635
-	 * @return bool
635
+	 * @return false|null
636 636
 	 */
637 637
 	protected function generateActiveRecord($config, $tablename, $output)
638 638
 	{
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Relations/TActiveRecordRelationContext.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
 	private $_relation; //data from an entry of TActiveRecord::$RELATION
36 36
 	private $_fkeys;
37 37
 
38
+	/**
39
+	 * @param TActiveRecord $record
40
+	 */
38 41
 	public function __construct($record, $property = null, $relation = null)
39 42
 	{
40 43
 		$this->_record = $record;
@@ -200,8 +203,8 @@  discard block
 block discarded – undo
200 203
 	}
201 204
 
202 205
 	/**
203
-	 * @param mixed $updateBelongsTo
204
-	 * @return TActiveRecordRelationCommand
206
+	 * @param boolean $updateBelongsTo
207
+	 * @return boolean
205 208
 	 */
206 209
 	public function updateAssociatedRecords($updateBelongsTo = false)
207 210
 	{
Please login to merge, or discard this patch.
framework/Data/DataGateway/TSqlCriteria.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 	}
195 195
 
196 196
 	/**
197
-	 * @return bool true if the parameter index are string base, false otherwise.
197
+	 * @return boolean|null true if the parameter index are string base, false otherwise.
198 198
 	 */
199 199
 	public function getIsNamedParameters()
200 200
 	{
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 	}
213 213
 
214 214
 	/**
215
-	 * @param mixed $value ordering clause.
215
+	 * @param string $value ordering clause.
216 216
 	 */
217 217
 	public function setOrdersBy($value)
218 218
 	{
Please login to merge, or discard this patch.
framework/I18N/core/CultureInfo.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -205,7 +205,6 @@  discard block
 block discarded – undo
205 205
 
206 206
 	/**
207 207
 	 * Load the ICU culture data for the specific culture identifier.
208
-	 * @param string $culture the culture identifier.
209 208
 	 * @param mixed $key
210 209
 	 */
211 210
 	protected function loadCultureData($key)
@@ -258,7 +257,6 @@  discard block
 block discarded – undo
258 257
 	 * Search the array for a specific value using a path separated using
259 258
 	 * slash "/" separated path. e.g to find $info['hello']['world'],
260 259
 	 * the path "hello/world" will return the corresponding value.
261
-	 * @param array $info the array for search
262 260
 	 * @param string $path slash "/" separated array path.
263 261
 	 * @param mixed $resource
264 262
 	 * @return mixed the value array using the path
@@ -402,7 +400,6 @@  discard block
 block discarded – undo
402 400
 	 * Simplify a single element array into its own value.
403 401
 	 * E.g. <code>array(0 => array('hello'), 1 => 'world');</code>
404 402
 	 * becomes <code>array(0 => 'hello', 1 => 'world');</code>
405
-	 * @param array $array with single elements arrays
406 403
 	 * @param mixed $obj
407 404
 	 * @return array simplified array.
408 405
 	 */
@@ -478,7 +475,7 @@  discard block
 block discarded – undo
478 475
 
479 476
 	/**
480 477
 	 * Get a list of timezones in the language of the localized version.
481
-	 * @return array list of localized timezones.
478
+	 * @return string[] list of localized timezones.
482 479
 	 */
483 480
 	public function getTimeZones()
484 481
 	{
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_Database.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	 * Creates the DB connection.
63 63
 	 * @param string $connectionID the module ID for TDataSourceConfig
64 64
 	 * @throws TConfigurationException if module ID is invalid or empty
65
-	 * @return TDbConnection the created DB connection
65
+	 * @return \Prado\Data\TDbConnection the created DB connection
66 66
 	 */
67 67
 	protected function createDbConnection($connectionID)
68 68
 	{
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 	/**
141 141
 	 * Get all the variants of a particular catalogue.
142 142
 	 * @param string $catalogue catalogue name
143
-	 * @return array list of all variants for this catalogue.
143
+	 * @return string[] list of all variants for this catalogue.
144 144
 	 */
145 145
 	protected function getCatalogueList($catalogue)
146 146
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TCustomValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
 	}
109 109
 
110 110
 	/**
111
-	 * @return null|TControl control to be validated. Null if no control is found.
111
+	 * @return \Prado\Web\UI\TControl|null control to be validated. Null if no control is found.
112 112
 	 */
113 113
 	public function getValidationTarget()
114 114
 	{
Please login to merge, or discard this patch.