File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 44
55use Illuminate \Support \Facades \Gate ;
66use Lomkit \Rest \Tests \Feature \TestCase ;
7- use Lomkit \Rest \Tests \Support \Database \Factories \ModelFactory ;
87use Lomkit \Rest \Tests \Support \Database \Factories \SoftDeletedModelFactory ;
9- use Lomkit \Rest \Tests \Support \Models \Model ;
108use Lomkit \Rest \Tests \Support \Models \SoftDeletedModel ;
119use Lomkit \Rest \Tests \Support \Policies \GreenPolicy ;
1210use Lomkit \Rest \Tests \Support \Policies \RedPolicy ;
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ class RedPolicyButForModel
99{
1010 use HandlesAuthorization;
1111
12- static Model $ model ;
12+ public static Model $ model ;
1313
14- public static function forModel (Model $ model ) {
14+ public static function forModel (Model $ model )
15+ {
1516 static ::$ model = $ model ;
1617 }
1718
You can’t perform that action at this time.
0 commit comments