Completed
Push — prado-3.3 ( 93ffb3...b1ee51 )
by Fabio
19:32
created
framework/I18N/core/DateFormat.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -87,6 +87,7 @@  discard block
 block discarded – undo
87 87
 	 * Initialize a new DateFormat.
88 88
 	 * @param mixed either, null, a CultureInfo instance,
89 89
 	 * a DateTimeFormatInfo instance, or a locale.
90
+	 * @param string $formatInfo
90 91
 	 * @return DateFormat instance
91 92
 	 */
92 93
 	function __construct($formatInfo=null)
@@ -106,6 +107,7 @@  discard block
 block discarded – undo
106 107
 	/**
107 108
 	 * Format a date according to the pattern.
108 109
 	 * @param mixed the time as integer or string in strtotime format.
110
+	 * @param string $time
109 111
 	 * @return string formatted date time.
110 112
 	 */
111 113
 	public function format($time, $pattern='F', $charset='UTF-8')
@@ -179,6 +181,7 @@  discard block
 block discarded – undo
179 181
 	 * DateTimeFormatInfo::formatDateTime
180 182
 	 * See the tutorial documentation for futher details on the patterns.
181 183
 	 * @param mixed a pattern.
184
+	 * @param string $pattern
182 185
 	 * @return string a pattern.
183 186
 	 * @see DateTimeFormatInfo::formatDateTime()
184 187
 	 */
@@ -269,6 +272,7 @@  discard block
 block discarded – undo
269 272
 	 * Any substrings, starting and ending with a single quote (')
270 273
 	 * will be treated as a single token.
271 274
 	 * @param string pattern.
275
+	 * @param string $pattern
272 276
 	 * @return array string tokens in an array.
273 277
 	 */
274 278
 	protected function getTokens($pattern)
Please login to merge, or discard this patch.
framework/I18N/core/NumberFormat.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,6 +86,7 @@  discard block
 block discarded – undo
86 86
 	 * a CultureInfo or NumberFormatInfo instance will instantiated a instance
87 87
 	 * for that particular culture.
88 88
 	 * @param mixed either null, a CultureInfo, a NumberFormatInfo, or string
89
+	 * @param string $formatInfo
89 90
 	 * @return NumberFormat
90 91
 	 */
91 92
 	function __construct($formatInfo=null)
@@ -111,6 +112,7 @@  discard block
 block discarded – undo
111 112
 	 * 3 decimal places.
112 113
 	 * @param string 3-letter ISO 4217 code. For example, the code
113 114
 	 * "USD" represents the US Dollar and "EUR" represents the Euro currency.
115
+	 * @param string $number
114 116
 	 * @return string formatted number string
115 117
 	 */
116 118
 	function format($number, $pattern='d', $currency='USD', $charset='UTF-8')
@@ -232,7 +234,7 @@  discard block
 block discarded – undo
232 234
 
233 235
 	/**
234 236
 	 * Format the decimal places.
235
-	 * @param string the decimal number in string form.
237
+	 * @param string string decimal number in string form.
236 238
 	 * @return string formatted decimal places.
237 239
 	 */
238 240
 	protected function formatDecimal($string)
@@ -280,6 +282,7 @@  discard block
 block discarded – undo
280 282
 	 * Set the pattern to format against. The default patterns
281 283
 	 * are retrieved from the NumberFormatInfo instance.
282 284
 	 * @param string the requested patterns.
285
+	 * @param string $pattern
283 286
 	 * @return string a number format pattern.
284 287
 	 */
285 288
 	protected function setPattern($pattern)
Please login to merge, or discard this patch.
framework/I18N/TGlobalization.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 	}
91 91
 
92 92
 	/**
93
-	 * @return string default culture
93
+	 * @return boolean default culture
94 94
 	 */
95 95
 	public function getTranslateDefaultCulture()
96 96
 	{
Please login to merge, or discard this patch.
framework/Security/TAuthManager.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -374,6 +374,7 @@
 block discarded – undo
374 374
 	/**
375 375
 	 * Updates the user data stored in session.
376 376
 	 * @param IUser user object
377
+	 * @param TUser $user
377 378
 	 * @throws new TConfigurationException if session module is not loaded.
378 379
 	 */
379 380
 	public function updateSessionUser($user)
Please login to merge, or discard this patch.
framework/Security/TSecurityManager.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 	}
183 183
 
184 184
 	/**
185
-	 * @return mixed the algorithm used to encrypt/decrypt data. Defaults to the string 'rijndael-256'.
185
+	 * @return string the algorithm used to encrypt/decrypt data. Defaults to the string 'rijndael-256'.
186 186
 	 */
187 187
 	public function getCryptAlgorithm()
188 188
 	{
@@ -201,6 +201,7 @@  discard block
 block discarded – undo
201 201
 	/**
202 202
 	 * Encrypts data with {@link getEncryptionKey EncryptionKey}.
203 203
 	 * @param string data to be encrypted.
204
+	 * @param string $data
204 205
 	 * @return string the encrypted data
205 206
 	 * @throws TNotSupportedException if PHP Mcrypt extension is not loaded
206 207
 	 */
@@ -220,6 +221,7 @@  discard block
 block discarded – undo
220 221
 	/**
221 222
 	 * Decrypts data with {@link getEncryptionKey EncryptionKey}.
222 223
 	 * @param string data to be decrypted.
224
+	 * @param string $data
223 225
 	 * @return string the decrypted data
224 226
 	 * @throws TNotSupportedException if PHP Mcrypt extension is not loaded
225 227
 	 */
Please login to merge, or discard this patch.
framework/Security/TUser.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -73,6 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
 	/**
75 75
 	 * @param string username
76
+	 * @param string $value
76 77
 	 */
77 78
 	public function setName($value)
78 79
 	{
@@ -89,6 +90,7 @@  discard block
 block discarded – undo
89 90
 
90 91
 	/**
91 92
 	 * @param boolean if the user is a guest
93
+	 * @param boolean $value
92 94
 	 */
93 95
 	public function setIsGuest($value)
94 96
 	{
@@ -170,6 +172,7 @@  discard block
 block discarded – undo
170 172
 	 *
171 173
 	 * @param string variable name
172 174
 	 * @param mixed default value
175
+	 * @param string $key
173 176
 	 * @return mixed the value of the variable. If it doesn't exist, the provided default value will be returned
174 177
 	 * @see setState
175 178
 	 */
@@ -190,6 +193,7 @@  discard block
 block discarded – undo
190 193
 	 * @param string variable name
191 194
 	 * @param mixed variable value
192 195
 	 * @param mixed default value. If $value===$defaultValue, the variable will be removed from persistent storage.
196
+	 * @param string $key
193 197
 	 * @see getState
194 198
 	 */
195 199
 	protected function setState($key,$value,$defaultValue=null)
Please login to merge, or discard this patch.
framework/TApplicationComponent.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -92,6 +92,7 @@  discard block
 block discarded – undo
92 92
 	 *
93 93
 	 * @param string path of the asset that is relative to the directory containing the specified class file.
94 94
 	 * @param string name of the class whose containing directory will be prepend to the asset path. If null, it means get_class($this).
95
+	 * @param string $assetPath
95 96
 	 * @return string URL to the asset path.
96 97
 	 */
97 98
 	public function publishAsset($assetPath,$className=null)
@@ -106,6 +107,7 @@  discard block
 block discarded – undo
106 107
 	/**
107 108
 	 * Publishes a file or directory and returns its URL.
108 109
 	 * @param string absolute path of the file or directory to be published
110
+	 * @param string $fullPath
109 111
 	 * @return string URL to the published file or directory
110 112
 	 */
111 113
 	public function publishFilePath($fullPath, $checkTimestamp=false)
Please login to merge, or discard this patch.
framework/TComponent.php 1 patch
Doc Comments   +14 added lines, -2 removed lines patch added patch discarded remove patch
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
 	 * </code>
407 407
 	 * to be executed when listen is called.  All attached behaviors are notified through dyListen.
408 408
 	 *
409
-	 * @return numeric the number of global events that were registered to the global event registry
409
+	 * @return null|integer the number of global events that were registered to the global event registry
410 410
 	 */
411 411
 	public function listen() {
412 412
 		if($this->_listeningenabled)
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
 	 * </code>
441 441
 	 * to be executed when listen is called.  All attached behaviors are notified through dyUnlisten.
442 442
 	 *
443
-	 * @return numeric the number of global events that were unregistered from the global event registry
443
+	 * @return null|integer the number of global events that were unregistered from the global event registry
444 444
 	 */
445 445
 	public function unlisten() {
446 446
 		if(!$this->_listeningenabled)
@@ -774,6 +774,7 @@  discard block
 block discarded – undo
774 774
 	 * A property is defined if there is a getter or setter method
775 775
 	 * defined in the class. Note, property names are case-insensitive.
776 776
 	 * @param string the property name
777
+	 * @param string $name
777 778
 	 * @return boolean whether the property is defined
778 779
 	 */
779 780
 	public function hasProperty($name)
@@ -2100,6 +2101,9 @@  discard block
 block discarded – undo
2100 2101
 		$this->reflect();
2101 2102
 	}
2102 2103
 
2104
+	/**
2105
+	 * @param ReflectionMethod $method
2106
+	 */
2103 2107
 	private function isPropertyMethod($method)
2104 2108
 	{
2105 2109
 		$methodName=$method->getName();
@@ -2108,6 +2112,9 @@  discard block
 block discarded – undo
2108 2112
 				&& isset($methodName[3]);
2109 2113
 	}
2110 2114
 
2115
+	/**
2116
+	 * @param ReflectionMethod $method
2117
+	 */
2111 2118
 	private function isEventMethod($method)
2112 2119
 	{
2113 2120
 		$methodName=$method->getName();
@@ -2254,11 +2261,14 @@  discard block
 block discarded – undo
2254 2261
 	/**
2255 2262
 	 * Attaches the behavior object to the component.
2256 2263
 	 * @param CComponent the component that this behavior is to be attached to.
2264
+	 * @param TComponent $component
2265
+	 * @return void
2257 2266
 	 */
2258 2267
 	public function attach($component);
2259 2268
 	/**
2260 2269
 	 * Detaches the behavior object from the component.
2261 2270
 	 * @param CComponent the component that this behavior is to be detached from.
2271
+	 * @return void
2262 2272
 	 */
2263 2273
 	public function detach($component);
2264 2274
 }
@@ -2283,6 +2293,8 @@  discard block
 block discarded – undo
2283 2293
 	public function getEnabled();
2284 2294
 	/**
2285 2295
 	 * @param boolean whether this behavior is enabled
2296
+	 * @param boolean $value
2297
+	 * @return void
2286 2298
 	 */
2287 2299
 	public function setEnabled($value);
2288 2300
 }
Please login to merge, or discard this patch.
framework/Util/TSimpleDateFormatter.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -93,6 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
 	/**
95 95
 	 * @param string formatting charset.
96
+	 * @param string $charset
96 97
 	 */
97 98
 	public function setCharset($charset)
98 99
 	{
@@ -313,6 +314,7 @@  discard block
 block discarded – undo
313 314
 
314 315
 	/**
315 316
 	 * Calculate the length of a string, may be consider iconv_strlen?
317
+	 * @param string $string
316 318
 	 */
317 319
 	private function length($string)
318 320
 	{
@@ -338,6 +340,9 @@  discard block
 block discarded – undo
338 340
 
339 341
 	/**
340 342
 	 * Returns true if char at position equals a particular char.
343
+	 * @param string $string
344
+	 * @param integer $pos
345
+	 * @param string $char
341 346
 	 */
342 347
 	private function charEqual($string, $pos, $char)
343 348
 	{
@@ -350,6 +355,10 @@  discard block
 block discarded – undo
350 355
 	 * @param int starting position
351 356
 	 * @param int minimum integer length
352 357
 	 * @param int maximum integer length
358
+	 * @param string $str
359
+	 * @param integer $i
360
+	 * @param integer|null $minlength
361
+	 * @param integer|null $maxlength
353 362
 	 * @return string integer portion of the string, null otherwise
354 363
 	 */
355 364
 	private function getInteger($str,$i,$minlength,$maxlength)
Please login to merge, or discard this patch.