Skip to content

Commit 6562a8a

Browse files
committed
add description for documentation
Signed-off-by: Hongyi Zhang <hongyi73.zhang@gmail.com>
1 parent ee63140 commit 6562a8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/helpers/path_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
* @param string
5858
* @param bool checks to see if the path exists
5959
* @return string
60-
* @throws InvalidArgumentException
60+
* @throws InvalidArgumentException When the input path is invalid
6161
*/
6262
function set_realpath($path, $check_existance = FALSE)
6363
{

user_guide_src/source/helpers/path_helper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The following functions are available:
3131
:param bool $check_existance: Whether to check if the path actually exists
3232
:returns: An absolute path
3333
:rtype: string
34-
:throws: InvalidArgumentException
34+
:throws: InvalidArgumentException When the input path is invalid
3535

3636
This function will return a server path without symbolic links or
3737
relative directory structures. An optional second argument will

0 commit comments

Comments
 (0)