Dont display empty other locations of lint errors
This commit is contained in:
@@ -117,7 +117,7 @@ final class DifferentialLintFieldSpecification
|
||||
'show' => $show,
|
||||
);
|
||||
|
||||
if (isset($message['locations'])) {
|
||||
if (!empty($message['locations'])) {
|
||||
$locations = array();
|
||||
foreach ($message['locations'] as $location) {
|
||||
$other_line = idx($location, 'line');
|
||||
|
||||
Reference in New Issue
Block a user