@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * |
97 | 97 | * @param alpha\Util\Http\Request $request |
98 | 98 | * |
99 | - * @return alpha\Util\Http\Response |
|
99 | + * @return Response |
|
100 | 100 | * |
101 | 101 | * @since 1.0 |
102 | 102 | */ |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * |
121 | 121 | * @param alpha\Util\Http\Request $request |
122 | 122 | * |
123 | - * @return alpha\Util\Http\Response |
|
123 | + * @return Response |
|
124 | 124 | * |
125 | 125 | * @since 1.0 |
126 | 126 | */ |
@@ -435,7 +435,7 @@ |
||
435 | 435 | /** |
436 | 436 | * Method for returning the calculated score for this article. |
437 | 437 | * |
438 | - * @return float |
|
438 | + * @return string |
|
439 | 439 | * |
440 | 440 | * @since 1.0 |
441 | 441 | */ |
@@ -115,7 +115,7 @@ |
||
115 | 115 | /** |
116 | 116 | * Get config value. |
117 | 117 | * |
118 | - * @param $key string |
|
118 | + * @param string $key string |
|
119 | 119 | * |
120 | 120 | * @return string |
121 | 121 | * |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | /** |
285 | 285 | * Get the node offset. |
286 | 286 | * |
287 | - * @return string |
|
287 | + * @return integer |
|
288 | 288 | * |
289 | 289 | * @since 1.0 |
290 | 290 | */ |
@@ -460,7 +460,7 @@ discard block |
||
460 | 460 | /** |
461 | 461 | * Calculates and returns the midpoint X coordinate of the children of this node. |
462 | 462 | * |
463 | - * @return int |
|
463 | + * @return double |
|
464 | 464 | * |
465 | 465 | * @since 1.0 |
466 | 466 | */ |
@@ -50,6 +50,7 @@ discard block |
||
50 | 50 | * Starts a new session, or resumes an existing session if there is already a session ID available. |
51 | 51 | * |
52 | 52 | * @since 2.0 |
53 | + * @return void |
|
53 | 54 | */ |
54 | 55 | public function init(); |
55 | 56 | |
@@ -57,13 +58,14 @@ discard block |
||
57 | 58 | * Destroys the current session. |
58 | 59 | * |
59 | 60 | * @since 2.0 |
61 | + * @return void |
|
60 | 62 | */ |
61 | 63 | public function destroy(); |
62 | 64 | |
63 | 65 | /** |
64 | 66 | * Get the key value from the session. Returns false if nothing is found. |
65 | 67 | * |
66 | - * @param $key |
|
68 | + * @param string $key |
|
67 | 69 | * |
68 | 70 | * @since 2.0 |
69 | 71 | * |
@@ -78,6 +80,7 @@ discard block |
||
78 | 80 | * @param mixed $value |
79 | 81 | * |
80 | 82 | * @since 2.0 |
83 | + * @return void |
|
81 | 84 | */ |
82 | 85 | public function set($key, $value); |
83 | 86 | |
@@ -85,9 +88,9 @@ discard block |
||
85 | 88 | * Deletes the value provided at that key in the session. |
86 | 89 | * |
87 | 90 | * @param string $key |
88 | - * @param mixed $value |
|
89 | 91 | * |
90 | 92 | * @since 2.0 |
93 | + * @return void |
|
91 | 94 | */ |
92 | 95 | public function delete($key); |
93 | 96 |
@@ -109,7 +109,7 @@ |
||
109 | 109 | /** |
110 | 110 | * Saves the GD image resource to the file path indicated. |
111 | 111 | * |
112 | - * @param image $imageResource The GD image resource to save |
|
112 | + * @param resource $imageResource The GD image resource to save |
|
113 | 113 | * @param string $type The image type (jpg, png, or gif) |
114 | 114 | * @param string $destination The desination file path of the image file to create |
115 | 115 | * |
@@ -132,7 +132,7 @@ |
||
132 | 132 | /** |
133 | 133 | * Returns the size in megabytes of the log file on disc. |
134 | 134 | * |
135 | - * @return float |
|
135 | + * @return integer |
|
136 | 136 | * |
137 | 137 | * @since 1.0 |
138 | 138 | */ |
@@ -153,7 +153,7 @@ |
||
153 | 153 | /** |
154 | 154 | * The constructor. |
155 | 155 | * |
156 | - * @param $source |
|
156 | + * @param string $source |
|
157 | 157 | * @param $width |
158 | 158 | * @param $height |
159 | 159 | * @param $sourceType |
@@ -297,7 +297,7 @@ discard block |
||
297 | 297 | /** |
298 | 298 | * Get the record for this controller (if any). |
299 | 299 | * |
300 | - * @return mixed |
|
300 | + * @return ActiveRecord |
|
301 | 301 | * |
302 | 302 | * @since 1.0 |
303 | 303 | */ |
@@ -632,7 +632,7 @@ discard block |
||
632 | 632 | /** |
633 | 633 | * Getter for the unit of work MAX duration. |
634 | 634 | * |
635 | - * @return int |
|
635 | + * @return Integer |
|
636 | 636 | * |
637 | 637 | * @since 1.0 |
638 | 638 | */ |
@@ -1179,7 +1179,7 @@ discard block |
||
1179 | 1179 | /** |
1180 | 1180 | * Generates the two security fields to prevent remote form processing. |
1181 | 1181 | * |
1182 | - * @return array An array containing the two fields |
|
1182 | + * @return string[] An array containing the two fields |
|
1183 | 1183 | * |
1184 | 1184 | * @since 1.0 |
1185 | 1185 | */ |
@@ -1432,6 +1432,7 @@ discard block |
||
1432 | 1432 | * @since 2.0 |
1433 | 1433 | * |
1434 | 1434 | * @throws \Alpha\Exception\NotImplementedException |
1435 | + * @param Request $request |
|
1435 | 1436 | */ |
1436 | 1437 | public function doHEAD($request) |
1437 | 1438 | { |
@@ -1444,6 +1445,7 @@ discard block |
||
1444 | 1445 | * @since 2.0 |
1445 | 1446 | * |
1446 | 1447 | * @throws \Alpha\Exception\NotImplementedException |
1448 | + * @param Request $request |
|
1447 | 1449 | */ |
1448 | 1450 | public function doGET($request) |
1449 | 1451 | { |
@@ -1456,6 +1458,7 @@ discard block |
||
1456 | 1458 | * @since 2.0 |
1457 | 1459 | * |
1458 | 1460 | * @throws \Alpha\Exception\NotImplementedException |
1461 | + * @param Request $request |
|
1459 | 1462 | */ |
1460 | 1463 | public function doPOST($request) |
1461 | 1464 | { |
@@ -1468,6 +1471,7 @@ discard block |
||
1468 | 1471 | * @since 2.0 |
1469 | 1472 | * |
1470 | 1473 | * @throws \Alpha\Exception\NotImplementedException |
1474 | + * @param Request $request |
|
1471 | 1475 | */ |
1472 | 1476 | public function doPUT($request) |
1473 | 1477 | { |
@@ -1480,6 +1484,7 @@ discard block |
||
1480 | 1484 | * @since 2.0 |
1481 | 1485 | * |
1482 | 1486 | * @throws \Alpha\Exception\NotImplementedException |
1487 | + * @param Request $request |
|
1483 | 1488 | */ |
1484 | 1489 | public function doPATCH($request) |
1485 | 1490 | { |
@@ -1492,6 +1497,7 @@ discard block |
||
1492 | 1497 | * @since 2.0 |
1493 | 1498 | * |
1494 | 1499 | * @throws \Alpha\Exception\NotImplementedException |
1500 | + * @param Request $request |
|
1495 | 1501 | */ |
1496 | 1502 | public function doDELETE($request) |
1497 | 1503 | { |
@@ -1502,6 +1508,7 @@ discard block |
||
1502 | 1508 | * {@inheritdoc} |
1503 | 1509 | * |
1504 | 1510 | * @since 2.0 |
1511 | + * @param Request $request |
|
1505 | 1512 | */ |
1506 | 1513 | public function doOPTIONS($request) |
1507 | 1514 | { |
@@ -1529,6 +1536,7 @@ discard block |
||
1529 | 1536 | * {@inheritdoc} |
1530 | 1537 | * |
1531 | 1538 | * @since 2.0.2 |
1539 | + * @param Request $request |
|
1532 | 1540 | */ |
1533 | 1541 | public function doTRACE($request) |
1534 | 1542 | { |