Method visibility removed for only one method named new()
I can't really track down why this is happening... except that it only happens when I have phpfmt enabled on save.
I have this function: `public function new () { $this->hasPermissions('coupons', 'all'); $data['products'] = Product::findWithoutOptions(); $data['stores'] = $this->authUser()->getStorePermissions();
return view('admin.coupons.new', $data);
}`
on save:
`function new () { $this->hasPermissions('coupons', 'all'); $data['products'] = Product::findWithoutOptions(); $data['stores'] = $this->authUser()->getStorePermissions();
return view('admin.coupons.new', $data);
}`
if I rename the function, then it works, or if I rename it, and create a new function named new() it also removes the visibility. I've toggled all settings, and removed transformations, and still having the issue.
I solved this problem there : https://github.com/MKCG/phpfmt_7-1