Test Failed
Push — intl ( c6271f...00087a )
by Fabio
06:11
created
framework/I18N/core/Gettext/TGettext_PO.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	 *
69 69
 	 * @access  public
70 70
 	 * @param   string $file  $file
71
-	 * @return  mixed   Returns true on success or PEAR_Error on failure.
71
+	 * @return  boolean   Returns true on success or PEAR_Error on failure.
72 72
 	 */
73 73
 	public function load($file = null)
74 74
 	{
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 	 *
125 125
 	 * @access  public
126 126
 	 * @param   string $file  $file
127
-	 * @return  mixed   Returns true on success or PEAR_Error on failure.
127
+	 * @return  boolean   Returns true on success or PEAR_Error on failure.
128 128
 	 */
129 129
 	public function save($file = null)
130 130
 	{
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_Database.php 1 patch
Doc Comments   +3 added lines, -3 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
 	{
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 	/**
195 195
 	 * Update the catalogue last modified time.
196 196
 	 * @param mixed $cat_id
197
-	 * @param mixed $variant
197
+	 * @param string $variant
198 198
 	 * @return bool true if updated, false otherwise.
199 199
 	 */
200 200
 	private function updateCatalogueTime($cat_id, $variant)
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_gettext.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -195,6 +195,9 @@  discard block
 block discarded – undo
195 195
 		return false;
196 196
 	}
197 197
 
198
+	/**
199
+	 * @param string $MOFile
200
+	 */
198 201
 	private function getPOFile($MOFile)
199 202
 	{
200 203
 		$filebase = substr($MOFile, 0, strlen($MOFile) - strlen($this->dataExt));
@@ -423,6 +426,9 @@  discard block
 block discarded – undo
423 426
 		return $catalogue;
424 427
 	}
425 428
 
429
+	/**
430
+	 * @param string $catalogue
431
+	 */
426 432
 	protected function createMessageTemplate($catalogue)
427 433
 	{
428 434
 		if ($catalogue === null) {
Please login to merge, or discard this patch.
framework/I18N/core/TCache_Lite.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -496,8 +496,8 @@
 block discarded – undo
496 496
 	/**
497 497
 	 *
498 498
 	 * @access private
499
-	 * @param mixed $id
500
-	 * @param mixed $data
499
+	 * @param string $id
500
+	 * @param string $data
501 501
 	 */
502 502
 	protected function _memoryCacheAdd($id, $data)
503 503
 	{
Please login to merge, or discard this patch.
framework/I18N/TGlobalization.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	 * You should override this method if you want a different way of
71 71
 	 * setting the Culture and/or Charset for your application.
72 72
 	 * If you override this method, call parent::init($xml) first.
73
-	 * @param mixed $config application configuration
73
+	 * @param \Prado\TXmlElement|null $config application configuration
74 74
 	 */
75 75
 	public function init($config)
76 76
 	{
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 	}
97 97
 
98 98
 	/**
99
-	 * @return string default culture
99
+	 * @return boolean default culture
100 100
 	 */
101 101
 	public function getTranslateDefaultCulture()
102 102
 	{
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
 	 * Note that you still need to verify the existance of these files.
287 287
 	 * @param string $file filename
288 288
 	 * @param string $culture culture string, null to use current culture
289
-	 * @return array list of possible localized resource files.
289
+	 * @return string[] list of possible localized resource files.
290 290
 	 */
291 291
 	public function getLocalizedResource($file, $culture = null)
292 292
 	{
Please login to merge, or discard this patch.
framework/IO/TTarFileExtractor.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -232,6 +232,9 @@  discard block
 block discarded – undo
232 232
 		return $v_block;
233 233
 	}
234 234
 
235
+	/**
236
+	 * @param double $p_len
237
+	 */
235 238
 	private function _jumpBlock($p_len = null)
236 239
 	{
237 240
 		if (is_resource($this->_file)) {
@@ -333,6 +336,12 @@  discard block
 block discarded – undo
333 336
 		return true;
334 337
 	}
335 338
 
339
+	/**
340
+	 * @param string $p_path
341
+	 * @param string $p_mode
342
+	 * @param integer $p_file_list
343
+	 * @param string $p_remove_path
344
+	 */
336 345
 	protected function _extractList(
337 346
 		$p_path,
338 347
 		&$p_list_detail,
Please login to merge, or discard this patch.
framework/PradoBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
 	 * module of the Prado application to handle the exception.
202 202
 	 * If the application or the module does not exist, it simply echoes the
203 203
 	 * exception.
204
-	 * @param Exception $exception exception that is not caught
204
+	 * @param TPhpFatalErrorException $exception exception that is not caught
205 205
 	 */
206 206
 	public static function exceptionHandler($exception)
207 207
 	{
Please login to merge, or discard this patch.
framework/Security/TAuthorizationRule.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	}
170 170
 
171 171
 	/**
172
-	 * @return array list of IP rules.
172
+	 * @return string list of IP rules.
173 173
 	 * @since 3.1.1
174 174
 	 */
175 175
 	public function getIPRules()
@@ -216,6 +216,9 @@  discard block
 block discarded – undo
216 216
 		}
217 217
 	}
218 218
 
219
+	/**
220
+	 * @param string $ip
221
+	 */
219 222
 	private function isIpMatched($ip)
220 223
 	{
221 224
 		if (empty($this->_ipRules)) {
@@ -229,11 +232,17 @@  discard block
 block discarded – undo
229 232
 		return 0;
230 233
 	}
231 234
 
235
+	/**
236
+	 * @param IUser $user
237
+	 */
232 238
 	private function isUserMatched($user)
233 239
 	{
234 240
 		return ($this->_everyone || ($this->_guest && $user->getIsGuest()) || ($this->_authenticated && !$user->getIsGuest()) || in_array(strtolower($user->getName()), $this->_users));
235 241
 	}
236 242
 
243
+	/**
244
+	 * @param IUser $user
245
+	 */
237 246
 	private function isRoleMatched($user)
238 247
 	{
239 248
 		foreach ($this->_roles as $role) {
@@ -244,6 +253,9 @@  discard block
 block discarded – undo
244 253
 		return false;
245 254
 	}
246 255
 
256
+	/**
257
+	 * @param string $verb
258
+	 */
247 259
 	private function isVerbMatched($verb)
248 260
 	{
249 261
 		return ($this->_verb === '*' || strcasecmp($verb, $this->_verb) === 0);
Please login to merge, or discard this patch.
framework/Security/TDbUserManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
 	 * Creates the DB connection.
165 165
 	 * @param string $connectionID the module ID for TDataSourceConfig
166 166
 	 * @throws TConfigurationException if module ID is invalid or empty
167
-	 * @return TDbConnection the created DB connection
167
+	 * @return \Prado\Data\TDbConnection the created DB connection
168 168
 	 */
169 169
 	protected function createDbConnection($connectionID)
170 170
 	{
Please login to merge, or discard this patch.