1 parent 7c237fb commit 61f46fcCopy full SHA for 61f46fc
1 file changed
lib/PhpParser/ParserAbstract.php
@@ -1229,12 +1229,15 @@ private function isSimpleExit(array $args): bool {
1229
return false;
1230
}
1231
1232
- protected function isMultiline(array $attributes): bool {
1233
- if (!isset($attributes['startLine']) || !isset($attributes['endLine'])) {
+ /**
+ * @param array{startLine?:int, endLine?: int} $attrs
1234
+ */
1235
+ protected function isMultiline(array $attrs): bool {
1236
+ if (!isset($attrs['startLine']) || !isset($attrs['endLine'])) {
1237
1238
1239
- return $attributes['startLine'] !== $attributes['endLine'];
1240
+ return $attrs['startLine'] !== $attrs['endLine'];
1241
1242
1243
/**
0 commit comments