mirror of
https://github.com/YGGverse/next.git
synced 2025-03-13 06:01:14 +00:00
define arguments parsed data type
This commit is contained in:
parent
4764674730
commit
03a41dd7f3
@ -34,7 +34,7 @@ foreach ((array) $argv as $item)
|
|||||||
case 'path':
|
case 'path':
|
||||||
|
|
||||||
$path = rtrim(
|
$path = rtrim(
|
||||||
$argument['value'],
|
(string) $argument['value'],
|
||||||
DIRECTORY_SEPARATOR
|
DIRECTORY_SEPARATOR
|
||||||
) . DIRECTORY_SEPARATOR;
|
) . DIRECTORY_SEPARATOR;
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ foreach ((array) $argv as $item)
|
|||||||
case 'fail':
|
case 'fail':
|
||||||
|
|
||||||
$fail = rtrim(
|
$fail = rtrim(
|
||||||
$argument['value'],
|
(string) $argument['value'],
|
||||||
DIRECTORY_SEPARATOR
|
DIRECTORY_SEPARATOR
|
||||||
) . DIRECTORY_SEPARATOR;
|
) . DIRECTORY_SEPARATOR;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user