Skip to content
Snippets Groups Projects

Fix warning on PHP 7.4

Merged Thomas Flori requested to merge github/fork/PierrickVoulet/patch-1 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -99,7 +99,7 @@ class Arguments
*/
protected function isValue($arg)
{
return (empty($arg) || $arg === '-' || $arg[0] !== '-');
return (empty($arg) || $arg === '-' || 0 !== strpos($arg, '-'));
}
/**
Loading