@@ -68,8 +68,8 @@ discard block |
||
| 68 | 68 | * @param string $file Name of the file containing the image. |
| 69 | 69 | * @param float $x Abscissa of the upper-left corner. |
| 70 | 70 | * @param float $y Ordinate of the upper-left corner. |
| 71 | - * @param float $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated. |
|
| 72 | - * @param float $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated. |
|
| 71 | + * @param integer $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated. |
|
| 72 | + * @param integer $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated. |
|
| 73 | 73 | * @param string $type Image format. Possible values are (case insensitive): JPEG and PNG (whitout GD library) and all images supported by GD: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM;. If not specified, the type is inferred from the file extension. |
| 74 | 74 | * @param mixed $link URL or identifier returned by AddLink(). |
| 75 | 75 | * @param string $align Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:<ul><li>T: top-right for LTR or top-left for RTL</li><li>M: middle-right for LTR or middle-left for RTL</li><li>B: bottom-right for LTR or bottom-left for RTL</li><li>N: next line</li></ul> |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * @param string $palign Allows to center or align the image on the current line. Possible values are:<ul><li>L : left align</li><li>C : center</li><li>R : right align</li><li>'' : empty string : left for LTR or right for RTL</li></ul> |
| 79 | 79 | * @param bool $ismask true if this image is a mask, false otherwise |
| 80 | 80 | * @param mixed $imgmask image object returned by this function or false |
| 81 | - * @param mixed $border Indicates if borders must be drawn around the image. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul> |
|
| 81 | + * @param integer $border Indicates if borders must be drawn around the image. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul> |
|
| 82 | 82 | * |
| 83 | 83 | * @since 1.0 |
| 84 | 84 | */ |
@@ -541,7 +541,7 @@ discard block |
||
| 541 | 541 | * @param string $sourceDir The path to the source directory. |
| 542 | 542 | * @param string $fileList The HTML list of files generated (pass by reference). |
| 543 | 543 | * @param int $fileCount The current file count (used in recursive calls). |
| 544 | - * @param array $excludeFiles An array of file names to exclude from the list rendered. |
|
| 544 | + * @param string[] $excludeFiles An array of file names to exclude from the list rendered. |
|
| 545 | 545 | * |
| 546 | 546 | * @return int The current filecount for the directory. |
| 547 | 547 | * |
@@ -578,7 +578,7 @@ discard block |
||
| 578 | 578 | * Recursively deletes the contents of the directory indicated (the directory itself is not deleted). |
| 579 | 579 | * |
| 580 | 580 | * @param string $sourceDir The path to the source directory. |
| 581 | - * @param array $excludeFiles An array of file names to exclude from the deletion. |
|
| 581 | + * @param string[] $excludeFiles An array of file names to exclude from the deletion. |
|
| 582 | 582 | * |
| 583 | 583 | * @throws Alpha\Exception\AlphaException |
| 584 | 584 | * |
@@ -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 | */ |
@@ -389,9 +389,9 @@ |
||
| 389 | 389 | * Get the param matching the key provided. |
| 390 | 390 | * |
| 391 | 391 | * @param string $key The key to search for |
| 392 | - * @param mixed $default If key is not found, return this instead |
|
| 392 | + * @param string|false $default If key is not found, return this instead |
|
| 393 | 393 | * |
| 394 | - * @return mixed |
|
| 394 | + * @return string |
|
| 395 | 395 | * |
| 396 | 396 | * @since 2.0 |
| 397 | 397 | */ |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | * |
| 68 | 68 | * @throws Alpha\Exception\IllegalArguementException |
| 69 | 69 | * |
| 70 | - * @return Alpha\Util\Http\Session\SessionProviderInterface |
|
| 70 | + * @return SessionProviderInterface|null |
|
| 71 | 71 | * |
| 72 | 72 | * @since 2.0 |
| 73 | 73 | */ |
@@ -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 | * |
@@ -182,6 +182,7 @@ |
||
| 182 | 182 | * not exist. |
| 183 | 183 | * |
| 184 | 184 | * @since 1.1 |
| 185 | + * @param string $stepName |
|
| 185 | 186 | */ |
| 186 | 187 | public function logStep($stepName) |
| 187 | 188 | { |
@@ -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 | */ |