Completed
Push — prado4-sauce ( 31ba42...77d75b )
by Fabio
16:20 queued 08:27
created
framework/IO/TTextWriter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@
 block discarded – undo
38 38
 	/**
39 39
 	 * Writes a string.
40 40
 	 * @param string string to be written
41
+	 * @param string $str
41 42
 	 */
42 43
 	public function write($str)
43 44
 	{
Please login to merge, or discard this patch.
framework/Util/TLogger.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -98,6 +98,7 @@
 block discarded – undo
98 98
 	 * @param integer level filter
99 99
 	 * @param array category filter
100 100
 	 * @param array control filter
101
+	 * @param integer $levels
101 102
 	 * @return array list of messages. Each array elements represents one message
102 103
 	 * with the following structure:
103 104
 	 * array(
Please login to merge, or discard this patch.
framework/Util/TRpcClient.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@
 block discarded – undo
105 105
 	 * @param string RPC server URL
106 106
 	 * @param array payload data
107 107
 	 * @param string request mime type
108
+	 * @param string $serverUrl
109
+	 * @param string $mimeType
110
+	 * @return string
108 111
 	 */
109 112
 	protected function performRequest($serverUrl, $payload, $mimeType)
110 113
 	{
Please login to merge, or discard this patch.
framework/Util/TSimpleDateFormatter.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@  discard block
 block discarded – undo
60 60
 	 * Constructor, create a new date time formatter.
61 61
 	 * @param string formatting pattern.
62 62
 	 * @param string pattern and value charset
63
+	 * @param string $pattern
63 64
 	 */
64 65
 	public function __construct($pattern, $charset='UTF-8')
65 66
 	{
@@ -93,6 +94,7 @@  discard block
 block discarded – undo
93 94
 
94 95
 	/**
95 96
 	 * @param string formatting charset.
97
+	 * @param string $charset
96 98
 	 */
97 99
 	public function setCharset($charset)
98 100
 	{
@@ -313,6 +315,7 @@  discard block
 block discarded – undo
313 315
 
314 316
 	/**
315 317
 	 * Calculate the length of a string, may be consider iconv_strlen?
318
+	 * @param string $string
316 319
 	 */
317 320
 	private function length($string)
318 321
 	{
@@ -338,6 +341,9 @@  discard block
 block discarded – undo
338 341
 
339 342
 	/**
340 343
 	 * Returns true if char at position equals a particular char.
344
+	 * @param string $string
345
+	 * @param integer $pos
346
+	 * @param string $char
341 347
 	 */
342 348
 	private function charEqual($string, $pos, $char)
343 349
 	{
@@ -350,6 +356,10 @@  discard block
 block discarded – undo
350 356
 	 * @param int starting position
351 357
 	 * @param int minimum integer length
352 358
 	 * @param int maximum integer length
359
+	 * @param string $str
360
+	 * @param integer $i
361
+	 * @param integer|null $minlength
362
+	 * @param integer|null $maxlength
353 363
 	 * @return string integer portion of the string, null otherwise
354 364
 	 */
355 365
 	private function getInteger($str,$i,$minlength,$maxlength)
Please login to merge, or discard this patch.
framework/Util/TVarDumper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
 			return self::$_output;
56 56
 	}
57 57
 
58
+	/**
59
+	 * @param integer $level
60
+	 */
58 61
 	private static function dumpInternal($var,$level)
59 62
 	{
60 63
 		switch(gettype($var))
Please login to merge, or discard this patch.
framework/Web/Javascripts/JSMin.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
 
74 74
   // -- Protected Instance Methods ---------------------------------------------
75 75
 
76
+  /**
77
+   * @param integer $d
78
+   */
76 79
   protected function action($d) {
77 80
     switch($d) {
78 81
       case 1:
@@ -132,6 +135,9 @@  discard block
 block discarded – undo
132 135
     }
133 136
   }
134 137
 
138
+  /**
139
+   * @return string
140
+   */
135 141
   protected function get() {
136 142
     $c = $this->lookAhead;
137 143
     $this->lookAhead = null;
@@ -156,6 +162,9 @@  discard block
 block discarded – undo
156 162
     return ' ';
157 163
   }
158 164
 
165
+  /**
166
+   * @param string $c
167
+   */
159 168
   protected function isAlphaNum($c) {
160 169
     return ord($c) > 126 || $c === '\\' || preg_match('/^[\w\$]$/', $c) === 1;
161 170
   }
Please login to merge, or discard this patch.
framework/Web/Services/TJsonService.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -140,6 +140,7 @@
 block discarded – undo
140 140
 	/**
141 141
 	 * Renders content provided by TJsonResponse::getJsonContent() as
142 142
 	 * javascript in JSON format.
143
+	 * @param TJsonResponse $service
143 144
 	 */
144 145
 	protected function createJsonResponse($service,$properties,$config)
145 146
 	{
Please login to merge, or discard this patch.
framework/Web/THttpResponseAdapter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@
 block discarded – undo
31 31
 	/**
32 32
 	 * Constructor. Attach a response to be adapted.
33 33
 	 * @param THttpResponse the response object the adapter is to attach to.
34
+	 * @param THttpResponse $response
34 35
 	 */
35 36
 	public function __construct($response)
36 37
 	{
Please login to merge, or discard this patch.
framework/Web/THttpSession.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -265,6 +265,7 @@  discard block
 block discarded – undo
265 265
 	 * If true, make sure the methods {@link _open}, {@link _close}, {@link _read},
266 266
 	 * {@link _write}, {@link _destroy}, and {@link _gc} are overridden in child
267 267
 	 * class, because they will be used as the callback handlers.
268
+	 * @param boolean $value
268 269
 	 */
269 270
 	public function setUseCustomStorage($value)
270 271
 	{
@@ -527,6 +528,7 @@  discard block
 block discarded – undo
527 528
 	 * Returns the session variable value with the session variable name.
528 529
 	 * This method is exactly the same as {@link offsetGet}.
529 530
 	 * @param mixed the session variable name
531
+	 * @param string $key
530 532
 	 * @return mixed the session variable value, null if no such variable exists
531 533
 	 */
532 534
 	public function itemAt($key)
@@ -539,6 +541,7 @@  discard block
 block discarded – undo
539 541
 	 * Note, if the specified name already exists, the old value will be removed first.
540 542
 	 * @param mixed session variable name
541 543
 	 * @param mixed session variable value
544
+	 * @param string $key
542 545
 	 */
543 546
 	public function add($key,$value)
544 547
 	{
Please login to merge, or discard this patch.