Completed
Push — remove_deprecates ( 636195...857ec6 )
by Fabio
12:38 queued 05:17
created
framework/Data/TDbTransaction.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -101,6 +101,7 @@
 block discarded – undo
101 101
 
102 102
 	/**
103 103
 	 * @param boolean whether this transaction is active
104
+	 * @param boolean $value
104 105
 	 */
105 106
 	protected function setActive($value)
106 107
 	{
Please login to merge, or discard this patch.
framework/I18N/core/CultureInfo.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -200,6 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
 	/**
202 202
 	* Gets the CultureInfo that for this culture string
203
+	* @param string $culture
203 204
 	* @return CultureInfo invariant culture info is "en".
204 205
 	*/
205 206
 	public static function getInstance($culture)
@@ -228,6 +229,7 @@  discard block
 block discarded – undo
228 229
 	 * Set the culture for the current instance. The culture indentifier
229 230
 	 * must be of the form "<language>_(country/region)".
230 231
 	 * @param string culture identifier, e.g. "fr_FR_EURO".
232
+	 * @param string $culture
231 233
 	 */
232 234
 	protected function setCulture($culture)
233 235
 	{
@@ -243,6 +245,7 @@  discard block
 block discarded – undo
243 245
 	/**
244 246
 	 * Load the ICU culture data for the specific culture identifier.
245 247
 	 * @param string the culture identifier.
248
+	 * @param string $culture
246 249
 	 */
247 250
 	protected function loadCultureData($culture)
248 251
 	{
@@ -283,6 +286,7 @@  discard block
 block discarded – undo
283 286
 	 * The data files are cached in a static variable inside
284 287
 	 * this function.
285 288
 	 * @param string the ICU data filename
289
+	 * @param string $filename
286 290
 	 * @return array ICU data
287 291
 	 */
288 292
 	protected function &getData($filename)
@@ -386,6 +390,7 @@  discard block
 block discarded – undo
386 390
 	/**
387 391
 	 * Set the date time format information.
388 392
 	 * @param DateTimeFormatInfo the new date time format info.
393
+	 * @param DateTimeFormatInfo $dateTimeFormat
389 394
 	 */
390 395
 	function setDateTimeFormat($dateTimeFormat)
391 396
 	{
@@ -493,6 +498,7 @@  discard block
 block discarded – undo
493 498
 	/**
494 499
 	 * Set the number format information.
495 500
 	 * @param NumberFormatInfo the new number format info.
501
+	 * @param NumberFormatInfo $numberFormat
496 502
 	 */
497 503
 	function setNumberFormat($numberFormat)
498 504
 	{
Please login to merge, or discard this patch.
framework/I18N/core/DateTimeFormatInfo.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -340,6 +340,7 @@
 block discarded – undo
340 340
 	/**
341 341
 	 * A string containing the name of the era.
342 342
 	 * @param int era The integer representing the era.
343
+	 * @param integer $era
343 344
 	 * @return string the era name.
344 345
 	 */
345 346
 	function getEra($era)
Please login to merge, or discard this patch.
framework/I18N/core/Gettext/TGettext.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      *
119 119
      * @static
120 120
      * @access  public
121
-     * @return  mixed   Returns true on success or PEAR_Error on failure.
121
+     * @return  boolean   Returns true on success or PEAR_Error on failure.
122 122
      * @param   string  $pofile path to GNU PO file
123 123
      * @param   string  $mofile path to GNU MO file
124 124
      */
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      * toMO
261 261
      *
262 262
      * @access  protected
263
-     * @return  object  File_Gettext_MO
263
+     * @return  TGettext_MO  File_Gettext_MO
264 264
      */
265 265
     function toMO()
266 266
     {
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
      * toPO
275 275
      *
276 276
      * @access  protected
277
-     * @return  object      File_Gettext_PO
277
+     * @return  TGettext_PO      File_Gettext_PO
278 278
      */
279 279
     function toPO()
280 280
     {
Please login to merge, or discard this patch.
framework/I18N/core/IMessageSource.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -109,6 +109,7 @@
 block discarded – undo
109 109
 	/**
110 110
 	 * Set the culture for this particular message source.
111 111
 	 * @param string the Culture name.
112
+	 * @return void
112 113
 	 */
113 114
 	function setCulture($culture);
114 115
 	
Please login to merge, or discard this patch.
framework/I18N/core/MessageCache.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,9 +99,7 @@
 block discarded – undo
99 99
 	 * Get the data from the cache.
100 100
 	 * @param string $catalogue The translation section.
101 101
 	 * @param string $culture The translation locale, e.g. "en_AU".
102
-	 * @param string $filename If the source is a file, this file's modified
103
-	 * time is newer than the cache's modified time, no cache hit.
104
-	 * @return mixed Boolean FALSE if no cache hit. Otherwise, translation
102
+	 * @return false|string Boolean FALSE if no cache hit. Otherwise, translation
105 103
 	 * table data for the specified section and locale.
106 104
 	 */
107 105
 	public function get($catalogue, $culture, $lastmodified=0)
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -252,6 +252,7 @@  discard block
 block discarded – undo
252 252
 	/**
253 253
 	 * Set the culture for this message source.
254 254
 	 * @param string culture name
255
+	 * @param string $culture
255 256
 	 */
256 257
 	public function setCulture($culture)
257 258
 	{
@@ -270,6 +271,7 @@  discard block
 block discarded – undo
270 271
 	/**
271 272
 	 * Get the last modified unix-time for this particular catalogue+variant.
272 273
 	 * @param string catalogue+variant
274
+	 * @param string $source
273 275
 	 * @return int last modified in unix-time format.
274 276
 	 */
275 277
 	protected function getLastModified($source)
@@ -281,6 +283,7 @@  discard block
 block discarded – undo
281 283
 	 * Load the message for a particular catalogue+variant.
282 284
 	 * This methods needs to implemented by subclasses.
283 285
 	 * @param string catalogue+variant.
286
+	 * @param string $variant
284 287
 	 * @return array of translation messages. 
285 288
 	 */
286 289
 	protected function &loadData($variant)
@@ -301,6 +304,7 @@  discard block
 block discarded – undo
301 304
 	/**
302 305
 	 * Determine if the source is valid.
303 306
 	 * @param string catalogue+variant
307
+	 * @param string $source
304 308
 	 * @return boolean true if valid, false otherwise. 
305 309
 	 */
306 310
 	protected function isValidSource($source)
@@ -312,6 +316,7 @@  discard block
 block discarded – undo
312 316
 	 * Get all the variants of a particular catalogue.
313 317
 	 * This method must be implemented by subclasses.
314 318
 	 * @param string catalogue name
319
+	 * @param string $catalogue
315 320
 	 * @return array list of all variants for this catalogue. 
316 321
 	 */	
317 322
 	protected function getCatalogueList($catalogue)
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
@@ -200,6 +200,9 @@  discard block
 block discarded – undo
200 200
 		return false;
201 201
 	}
202 202
 
203
+	/**
204
+	 * @param string $MOFile
205
+	 */
203 206
 	private function getPOFile($MOFile)
204 207
 	{
205 208
 		$filebase = substr($MOFile, 0, strlen($MOFile)-strlen($this->dataExt));
@@ -422,6 +425,9 @@  discard block
 block discarded – undo
422 425
 		return $catalogue;
423 426
 	}
424 427
 
428
+	/**
429
+	 * @param string $catalogue
430
+	 */
425 431
 	protected function createMessageTemplate($catalogue)
426 432
 	{
427 433
 		if($catalogue === null) {
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_XLIFF.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -486,6 +486,9 @@
 block discarded – undo
486 486
 		return false;
487 487
 	}
488 488
 
489
+	/**
490
+	 * @param string $catalogue
491
+	 */
489 492
 	protected function createMessageTemplate($catalogue)
490 493
 	{
491 494
 		if($catalogue === null) {
Please login to merge, or discard this patch.