Completed
Push — master ( ad329f...099915 )
by Fabio
05:37
created
framework/Util/TFirebugLogRoute.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
 	console.log ("[Tot Time] [Time    ] [Level] [Category] [Message]");
85 85
 
86
-EOD;
86
+eod;
87 87
 
88 88
 		return $string;
89 89
 	}
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 }
123 123
 </script>
124 124
 
125
-EOD;
125
+eod;
126 126
 
127 127
 		return $string;
128 128
 	}
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDatePicker.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
 	 * Loads date from drop down list data.
484 484
 	 * @param string $key the key that can be used to retrieve data from the input data collection
485 485
 	 * @param array $values the input data collection
486
-	 * @return array the date selected
486
+	 * @return string the date selected
487 487
 	 */
488 488
 	protected function getDateFromPostData($key, $values)
489 489
 	{
@@ -595,7 +595,7 @@  discard block
 block discarded – undo
595 595
 	}
596 596
 
597 597
 	/**
598
-	 * @return DateTimeFormatInfo date time format information for the current culture.
598
+	 * @return CultureInfo date time format information for the current culture.
599 599
 	 */
600 600
 	protected function getLocalizedCalendarInfo()
601 601
 	{
@@ -647,7 +647,7 @@  discard block
 block discarded – undo
647 647
 	/**
648 648
 	 * Renders the calendar drop down list depending on the DateFormat pattern.
649 649
 	 * @param THtmlWriter $writer the Html writer to render the drop down lists.
650
-	 * @param array $date the current selected date
650
+	 * @param \DateTime $date the current selected date
651 651
 	 */
652 652
 	protected function renderCalendarSelections($writer, $date)
653 653
 	{
@@ -755,7 +755,7 @@  discard block
 block discarded – undo
755 755
 	 * Returns the localized month names that depends on the month format pattern.
756 756
 	 * "MMMM" will return the month names, "MM" or "MMM" return abbr. month names
757 757
 	 * and "M" return month digits.
758
-	 * @param DateTimeFormatInfo $info localized date format information.
758
+	 * @param CultureInfo $info localized date format information.
759 759
 	 * @return array localized month names.
760 760
 	 */
761 761
 	protected function getLocalizedMonthNames($info)
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecord.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
 	/**
329 329
 	 * Gets the current Db connection, the connection object is obtained from
330 330
 	 * the TActiveRecordManager if connection is currently null.
331
-	 * @return TDbConnection current db connection for this object.
331
+	 * @return \Prado\Data\TDbConnection current db connection for this object.
332 332
 	 */
333 333
 	public function getDbConnection()
334 334
 	{
@@ -581,7 +581,7 @@  discard block
 block discarded – undo
581 581
 	 * $finder->find($criteria); //the 2nd parameter for find() is ignored.
582 582
 	 * </code>
583 583
 	 *
584
-	 * @param string|TActiveRecordCriteria $criteria SQL condition or criteria object.
584
+	 * @param TSqlCriteria $criteria SQL condition or criteria object.
585 585
 	 * @param mixed $parameters parameter values.
586 586
 	 * @return TActiveRecord matching record object. Null if no result is found.
587 587
 	 */
Please login to merge, or discard this patch.
framework/Caching/TMemCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@
 block discarded – undo
353 353
 	 * @param string $key the key identifying the value to be cached
354 354
 	 * @param string $value the value to be cached
355 355
 	 * @param int $expire the number of seconds in which the cached value will expire. 0 means never expire.
356
-	 * @return bool true if the value is successfully stored into cache, false otherwise
356
+	 * @return boolean|null true if the value is successfully stored into cache, false otherwise
357 357
 	 */
358 358
 	protected function addValue($key, $value, $expire)
359 359
 	{
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.