Skip to content

Commit f07e817

Browse files
committed
Remove useless condition
1 parent f73d492 commit f07e817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ function initPhpParser() {
13261326
}
13271327

13281328
foreach ($aliases as $alias) {
1329-
if ($alias->alias === null || !isset($funcMap[$alias->alias->__toString()])) {
1329+
if (!isset($funcMap[$alias->alias->__toString()])) {
13301330
$errors[] = "Aliased function {$alias->alias}() cannot be found";
13311331
continue;
13321332
}

0 commit comments

Comments
 (0)