Skip to content

Commit 642b6e7

Browse files
committed
Undefined variable
1 parent f9be8a1 commit 642b6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpdotnet/phd/Options/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private function checkOptions() {
8181
$checkArgv = explode('=', $argv[$i]);
8282
if (substr($checkArgv[0], 0, 2) == '--') {
8383
if (!in_array(substr($checkArgv[0], 2), $long)) {
84-
trigger_error('Invalid long option ' . $argv[$i] . ' ' . $check, E_USER_ERROR);
84+
trigger_error('Invalid long option ' . $argv[$i], E_USER_ERROR);
8585
}
8686
} elseif (substr($checkArgv[0], 0, 1) == '-') {
8787
if (!in_array(substr($checkArgv[0], 1), $short)) {

0 commit comments

Comments
 (0)