Passed
Push — master ( d07b96...ad329f )
by Fabio
06:09
created
framework/Web/UI/WebControls/TWebControl.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	}
62 62
 
63 63
 	/**
64
-	 * @return whether this web control must have an id
64
+	 * @return boolean this web control must have an id
65 65
 	 */
66 66
 	public function getEnsureId()
67 67
 	{
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
 	}
252 252
 
253 253
 	/**
254
-	 * @return TDisplayStyle display style of the control, default is TDisplayStyle::Fixed
254
+	 * @return string display style of the control, default is TDisplayStyle::Fixed
255 255
 	 */
256 256
 	public function getDisplay()
257 257
 	{
Please login to merge, or discard this patch.
framework/Wsat/TWsatARGenerator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -205,6 +205,10 @@
 block discarded – undo
205 205
 		return $code;
206 206
 	}
207 207
 
208
+	/**
209
+	 * @param string $classname
210
+	 * @param string $toString
211
+	 */
208 212
 	protected function generateClass($properties, $tablename, $classname, $toString)
209 213
 	{
210 214
 		$props = implode("\n", $properties);
Please login to merge, or discard this patch.
framework/Xml/TXmlDocument.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
 
236 236
 	/**
237 237
 	 * Recursively converts DOM XML nodes into TXmlElement
238
-	 * @param DOMXmlNode $node the node to be converted
238
+	 * @param \DOMElement $node the node to be converted
239 239
 	 * @return TXmlElement the converted TXmlElement
240 240
 	 */
241 241
 	protected function buildElement($node)
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TImageButton.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
 	 * invoke the page's {@link TPage::validate validate} method first.
244 244
 	 * It will raise {@link onClick OnClick} and {@link onCommand OnCommand} events.
245 245
 	 * This method is mainly used by framework and control developers.
246
-	 * @param TEventParameter $param the event parameter
246
+	 * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param the event parameter
247 247
 	 */
248 248
 	public function raisePostBackEvent($param)
249 249
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TLinkButton.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
 	 * invoke the page's {@link TPage::validate validate} method first.
244 244
 	 * It will raise {@link onClick OnClick} and {@link onCommand OnCommand} events.
245 245
 	 * This method is mainly used by framework and control developers.
246
-	 * @param TEventParameter $param the event parameter
246
+	 * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param the event parameter
247 247
 	 */
248 248
 	public function raisePostBackEvent($param)
249 249
 	{
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@  discard block
 block discarded – undo
30 30
 	private $_context;
31 31
 	private $_criteria;
32 32
 
33
+	/**
34
+	 * @param \Prado\Data\ActiveRecord\TActiveRecordCriteria $criteria
35
+	 */
33 36
 	public function __construct(TActiveRecordRelationContext $context, $criteria)
34 37
 	{
35 38
 		$this->_context = $context;
@@ -95,7 +98,7 @@  discard block
 block discarded – undo
95 98
 
96 99
 	/**
97 100
 	 * Fetch results for current relationship.
98
-	 * @param mixed $obj
101
+	 * @param TActiveRecord $obj
99 102
 	 * @return bool always true.
100 103
 	 */
101 104
 	public function fetchResultsInto($obj)
@@ -223,6 +226,7 @@  discard block
 block discarded – undo
223 226
 	 * @param array $properties source property names
224 227
 	 * @param array &$fkObjects foreign objects
225 228
 	 * @param array $fields foreign object field names.
229
+	 * @param TActiveRecord[] $fkObjects
226 230
 	 */
227 231
 	protected function populateResult(&$results, $properties, &$fkObjects, $fields)
228 232
 	{
Please login to merge, or discard this patch.
framework/Data/Common/TDbCommandBuilder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	}
47 47
 
48 48
 	/**
49
-	 * @param TDbConnection $value database connection.
49
+	 * @param null|TDbConnection $value database connection.
50 50
 	 */
51 51
 	public function setDbConnection($value)
52 52
 	{
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 	 * array('col1' => 'NULL', '*')
195 195
 	 * // SELECT `col1`, `col2`, `col3`, NULL AS `col1` FROM...
196 196
 	 * </code>
197
-	 * @param mixed $data
197
+	 * @param string $data
198 198
 	 * @return array of generated fields - use implode(', ', $selectfieldlist) to collapse field list for usage
199 199
 	 * @since 3.1.7
200 200
 	 * @todo add support for table aliasing
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
 	/**
421 421
 	 * Returns a list of insert field name and a list of binding names.
422 422
 	 * @param object $values array or object to be inserted.
423
-	 * @return array tuple ($fields, $bindings)
423
+	 * @return string[] tuple ($fields, $bindings)
424 424
 	 */
425 425
 	protected function getInsertFieldBindings($values)
426 426
 	{
Please login to merge, or discard this patch.
framework/I18N/core/MessageCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
 	 * @param string $culture The translation locale, e.g. "en_AU".
110 110
 	 * @param int $lastmodified If the source is a file, this file's modified
111 111
 	 * time is newer than the cache's modified time, no cache hit.
112
-	 * @return mixed bool FALSE if no cache hit. Otherwise, translation
112
+	 * @return false|string bool FALSE if no cache hit. Otherwise, translation
113 113
 	 * table data for the specified section and locale.
114 114
 	 */
115 115
 	public function get($catalogue, $culture, $lastmodified = 0)
Please login to merge, or discard this patch.
framework/Web/Services/TPageService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -470,7 +470,7 @@  discard block
 block discarded – undo
470 470
 	 * @param string $pagePath requested page path
471 471
 	 * @throws THttpException if requested page path is invalid
472 472
 	 * @throws TConfigurationException if the page class cannot be found
473
-	 * @return TPage the requested page instance
473
+	 * @return \Prado\TComponent the requested page instance
474 474
 	 */
475 475
 	protected function createPage($pagePath)
476 476
 	{
@@ -517,7 +517,7 @@  discard block
 block discarded – undo
517 517
 
518 518
 	/**
519 519
 	 * Executes a page.
520
-	 * @param TPage $page the page instance to be run
520
+	 * @param \Prado\TComponent $page the page instance to be run
521 521
 	 * @param array $properties list of initial page properties
522 522
 	 */
523 523
 	protected function runPage($page, $properties)
Please login to merge, or discard this patch.