akalongman / akalongman/sublimetext-codeformatter

Formatter removes method signature keyword

Open
#408 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
772
Forks
128
PR merge metrics
No merged PRs in 30d

Description

With this code
```
traitAppendQueryFilter($query, $filter);
}

protected function filterAttributes($attributes)
{
$fields = array_merge($this->fields, $this->langFields);

return array_intersect_key(
$attributes,
array_flip($fields)
);
}
}
```
formatter removes `protected` keywords.

When I remove trait use it works right.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.