mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Dont display empty other locations of lint errors
This commit is contained in:
parent
eb942f3e1e
commit
5a9e834658
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue