mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22: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,
|
'show' => $show,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isset($message['locations'])) {
|
if (!empty($message['locations'])) {
|
||||||
$locations = array();
|
$locations = array();
|
||||||
foreach ($message['locations'] as $location) {
|
foreach ($message['locations'] as $location) {
|
||||||
$other_line = idx($location, 'line');
|
$other_line = idx($location, 'line');
|
||||||
|
|
Loading…
Reference in a new issue