akalongman / akalongman/sublimetext-codeformatter
PHP formatter thinks method is for loop
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 772
- Fork
- 128
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
there is a bug, the package things this method is a for loop and its adds { }, if i change the method name to something else forTest(). the { } doesnt get added.
before
```
$results = QueryBuilder::for(TankReport::class)->allowedFilters(Filter::exact('model_id'));
```
after
```
$results = QueryBuilder::for (TankReport::class) {
->allowedFilters(Filter::exact('model_id'));
}
```
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.