Skip to content

Commit ffe34a6

Browse files
update
1 parent 0528b4d commit ffe34a6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static public function asset(?string $asset = null, $cache = null, $path_type =
9191
* - Time will only change if you make changes or modify the request file
9292
*
9393
* @param string $path_type
94-
* -[optional] Default is false (Absolute Path)|Else -- False is (Relative path)
94+
* -[optional] Default is false[Absolute Path] | true[Relative path]
9595
*
9696
* @return void
9797
*/

Tests/url.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
domain(),
1616
domain('admin'),
1717
tasset('zip.php'),
18-
tasset('zip.php', true, true),
18+
tasset('zip.php', true, false),
1919

2020
urlHelper()->server(),
2121

UrlHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static public function request()
4141
{
4242
$request = $_SERVER['REQUEST_URI'] ?? null;
4343

44-
return str_replace(self::path(), '', $request);
44+
return Str::replace(self::path(), '', $request);
4545
}
4646

4747
/**

helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ function tview($viewPath, $data = [])
320320
* @param bool|null $cache
321321
*
322322
* @param bool|null $path_type
323-
* -[optional] Default is false (Absolute Path)|Else -- False is (Relative path)
323+
* -[optional] Default is true (Absolute Path)|Else -- false is (Relative path)
324324
*
325325
* @return string
326326
*/
@@ -345,7 +345,7 @@ function tasset($asset = null, $cache = null, $path_type = null)
345345
* - Time will only change if you make changes or modify the request file
346346
*
347347
* @param bool $path_type
348-
* -[optional] Default is false (Absolute Path)|Else -- False is (Relative path)
348+
* -[optional] Default is false[Absolute Path] | true[Relative path]
349349
*
350350
* @return void
351351
*/

0 commit comments

Comments
 (0)