Completed
Pull Request — master (#18)
by
unknown
04:15
created
app/src/Comment/CommentsInSession.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * Get either a Gravatar URL or complete image tag for a specified email address.
36 36
      *
37 37
      * @param string $email The email address
38
-     * @param string $s Size in pixels, defaults to 80px [ 1 - 2048 ]
38
+     * @param integer $s Size in pixels, defaults to 80px [ 1 - 2048 ]
39 39
      * @param string $d Default imageset to use [ 404 | mm | identicon | monsterid | wavatar ]
40 40
      * @param string $r Maximum rating (inclusive) [ g | pg | r | x ]
41 41
      * @param boole $img True to return a complete IMG tag False for just the URL
Please login to merge, or discard this patch.
app/src/CommentDb/CommentController.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,6 +84,10 @@  discard block
 block discarded – undo
84 84
             'content' => $form->getHTML()
85 85
         ]);
86 86
     }
87
+
88
+    /**
89
+     * @param string $route
90
+     */
87 91
     private function createAddCommentForm($route)
88 92
     {
89 93
         return $this->di->form->create([], [
@@ -183,7 +187,6 @@  discard block
 block discarded – undo
183 187
     /**
184 188
      * Edit comment.
185 189
      *
186
-     * @param string $acronym of user to update.
187 190
      *
188 191
      * @return void
189 192
      */
Please login to merge, or discard this patch.
app/src/CommentDb/CommentsInDb.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Get either a Gravatar URL or complete image tag for a specified email address.
93 93
      *
94 94
      * @param string $email The email address
95
-     * @param string $s Size in pixels, defaults to 80px [ 1 - 2048 ]
95
+     * @param integer $s Size in pixels, defaults to 80px [ 1 - 2048 ]
96 96
      * @param string $d Default imageset to use [ 404 | mm | identicon | monsterid | wavatar ]
97 97
      * @param string $r Maximum rating (inclusive) [ g | pg | r | x ]
98 98
      * @param boole $img True to return a complete IMG tag False for just the URL
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     /**
136 136
      * Find and return all comments within the page comment flow.
137 137
      *
138
-     * @return array with all comments.
138
+     * @return CommentsInDb with all comments.
139 139
      */
140 140
     public function findFlow($flow = null)
141 141
     {
Please login to merge, or discard this patch.
app/src/Users/UsersController.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * List user with acronym.
52 52
      *
53
-     * @param int $id of user to display
54 53
      *
55 54
      * @return void
56 55
      */
@@ -221,7 +220,6 @@  discard block
 block discarded – undo
221 220
     /**
222 221
      * Update user.
223 222
      *
224
-     * @param string $acronym of user to update.
225 223
      *
226 224
      * @return void
227 225
      */
Please login to merge, or discard this patch.
src/MVC/CDatabaseModel.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,6 @@
 block discarded – undo
202 202
     /**
203 203
      * Execute the query built.
204 204
      *
205
-     * @param string $query custom query.
206 205
      *
207 206
      * @return $this
208 207
      */
Please login to merge, or discard this patch.
webroot/css/anax-grid/lessphp/lessc.inc.php 1 patch
Doc Comments   +43 added lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
 		return null;
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param string $name
82
+	 */
80 83
 	protected function fileExists($name) {
81 84
 		return is_file($name);
82 85
 	}
@@ -260,6 +263,9 @@  discard block
 block discarded – undo
260 263
 		return $scope;
261 264
 	}
262 265
 
266
+	/**
267
+	 * @param string[] $selectors
268
+	 */
263 269
 	protected function compileNestedBlock($block, $selectors) {
264 270
 		$this->pushEnv($block);
265 271
 		$this->scope = $this->makeOutputBlock($block->type, $selectors);
@@ -278,6 +284,9 @@  discard block
 block discarded – undo
278 284
 		$this->popEnv();
279 285
 	}
280 286
 
287
+	/**
288
+	 * @param stdClass $out
289
+	 */
281 290
 	protected function compileProps($block, $out) {
282 291
 		foreach ($this->sortProps($block->props) as $prop) {
283 292
 			$this->compileProp($prop, $block, $out);
@@ -388,6 +397,9 @@  discard block
 block discarded – undo
388 397
 		return $out;
389 398
 	}
390 399
 
400
+	/**
401
+	 * @param stdClass $env
402
+	 */
391 403
 	protected function multiplyMedia($env, $childQueries = null) {
392 404
 		if (is_null($env) ||
393 405
 			!empty($env->block->type) && $env->block->type != "media")
@@ -1255,6 +1267,9 @@  discard block
 block discarded – undo
1255 1267
 		$this->throwError($error);
1256 1268
 	}
1257 1269
 
1270
+	/**
1271
+	 * @param integer $expectedArgs
1272
+	 */
1258 1273
 	public function assertArgs($value, $expectedArgs, $name="") {
1259 1274
 		if ($expectedArgs == 1) {
1260 1275
 			return $value;
@@ -1309,6 +1324,11 @@  discard block
 block discarded – undo
1309 1324
 		return $out;
1310 1325
 	}
1311 1326
 
1327
+	/**
1328
+	 * @param double $comp
1329
+	 * @param double $temp1
1330
+	 * @param double $temp2
1331
+	 */
1312 1332
 	protected function toRGB_helper($comp, $temp1, $temp2) {
1313 1333
 		if ($comp < 0) $comp += 1.0;
1314 1334
 		elseif ($comp > 1) $comp -= 1.0;
@@ -2283,6 +2303,9 @@  discard block
 block discarded – undo
2283 2303
 	// caches preg escaped literals
2284 2304
 	static protected $literalCache = array();
2285 2305
 
2306
+	/**
2307
+	 * @param lessc $lessc
2308
+	 */
2286 2309
 	public function __construct($lessc, $sourceName = null) {
2287 2310
 		$this->eatWhiteDefault = true;
2288 2311
 		// reference to less needed for vPrefix, mPrefix, and parentSelector
@@ -2583,6 +2606,7 @@  discard block
 block discarded – undo
2583 2606
 
2584 2607
 	/**
2585 2608
 	 * recursively parse infix equation with $lhs at precedence $minP
2609
+	 * @param integer $minP
2586 2610
 	 */
2587 2611
 	protected function expHelper($lhs, $minP) {
2588 2612
 		$this->inExp = true;
@@ -2809,6 +2833,11 @@  discard block
 block discarded – undo
2809 2833
 	}
2810 2834
 
2811 2835
 	// an unbounded string stopped by $end
2836
+
2837
+	/**
2838
+	 * @param string $end
2839
+	 * @param string[] $rejectStrs
2840
+	 */
2812 2841
 	protected function openString($end, &$out, $nestingOpen=null, $rejectStrs = null) {
2813 2842
 		$oldWhite = $this->eatWhiteDefault;
2814 2843
 		$this->eatWhiteDefault = false;
@@ -3389,6 +3418,9 @@  discard block
 block discarded – undo
3389 3418
 
3390 3419
 	/* raw parsing functions */
3391 3420
 
3421
+	/**
3422
+	 * @param boolean $eatWhitespace
3423
+	 */
3392 3424
 	protected function literal($what, $eatWhitespace = null) {
3393 3425
 		if ($eatWhitespace === null) $eatWhitespace = $this->eatWhiteDefault;
3394 3426
 
@@ -3412,6 +3444,9 @@  discard block
 block discarded – undo
3412 3444
 		return $this->match(self::$literalCache[$what], $m, $eatWhitespace);
3413 3445
 	}
3414 3446
 
3447
+	/**
3448
+	 * @param string $parseItem
3449
+	 */
3415 3450
 	protected function genericList(&$out, $parseItem, $delim="", $flatten=true) {
3416 3451
 		$s = $this->seek();
3417 3452
 		$items = array();
@@ -3485,6 +3520,10 @@  discard block
 block discarded – undo
3485 3520
 	}
3486 3521
 
3487 3522
 	// match something without consuming it
3523
+
3524
+	/**
3525
+	 * @param string $regex
3526
+	 */
3488 3527
 	protected function peek($regex, &$out = null, $from=null) {
3489 3528
 		if (is_null($from)) $from = $this->count;
3490 3529
 		$r = '/'.$regex.'/Ais';
@@ -3540,6 +3579,10 @@  discard block
 block discarded – undo
3540 3579
 	}
3541 3580
 
3542 3581
 	// push a block that doesn't multiply tags
3582
+
3583
+	/**
3584
+	 * @param string $type
3585
+	 */
3543 3586
 	protected function pushSpecialBlock($type) {
3544 3587
 		return $this->pushBlock(null, $type);
3545 3588
 	}
Please login to merge, or discard this patch.