mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +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