Browse Source

define arguments parsed data type

nex-php
yggverse 7 months ago
parent
commit
03a41dd7f3
  1. 4
      src/nex.php

4
src/nex.php

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

Loading…
Cancel
Save