-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels