Skip to content

Commit a2f014b

Browse files
committed
Fix validation errors
1 parent b407b9d commit a2f014b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/DiagnosticsProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ private static function checkDiagnosticForUnexpectedToken($token) {
8383
$token->getEndPosition() - $token->start
8484
);
8585
}
86+
return null;
8687
}
8788

8889
/**

src/Node/MethodDeclaration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,6 @@ public function getDiagnosticForNode() {
7777
);
7878
}
7979
}
80+
return null;
8081
}
8182
}

src/Node/Statement/NamespaceUseDeclaration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,6 @@ public function getDiagnosticForNode() {
5151
}
5252
}
5353
}
54+
return null;
5455
}
5556
}

0 commit comments

Comments
 (0)