define arguments parsed data type

This commit is contained in:
yggverse 2024-04-27 00:51:19 +03:00
parent 4764674730
commit 03a41dd7f3

View File

@ -34,7 +34,7 @@ foreach ((array) $argv as $item)
case 'path':
$path = rtrim(
$argument['value'],
(string) $argument['value'],
DIRECTORY_SEPARATOR
) . DIRECTORY_SEPARATOR;
@ -66,7 +66,7 @@ foreach ((array) $argv as $item)
case 'fail':
$fail = rtrim(
$argument['value'],
(string) $argument['value'],
DIRECTORY_SEPARATOR
) . DIRECTORY_SEPARATOR;