File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1118,7 +1118,9 @@ public function testCanSetDenialResponseInConstructor()
1118
1118
1119
1119
$ gate ->defaultDenialResponse (Response::denyWithStatus (999 , 'my_message ' , 'abc ' ));
1120
1120
1121
- $ gate ->define ('foo ' , function () { return false ; });
1121
+ $ gate ->define ('foo ' , function () {
1122
+ return false ;
1123
+ });
1122
1124
1123
1125
$ response = $ gate ->inspect ('foo ' , new AccessGateTestDummy );
1124
1126
@@ -1135,7 +1137,9 @@ public function testCanSetDenialResponse()
1135
1137
//
1136
1138
});
1137
1139
1138
- $ gate ->define ('foo ' , function () { return false ; });
1140
+ $ gate ->define ('foo ' , function () {
1141
+ return false ;
1142
+ });
1139
1143
$ gate ->defaultDenialResponse (Response::denyWithStatus (404 , 'not_found ' , 'xyz ' ));
1140
1144
1141
1145
$ response = $ gate ->inspect ('foo ' , new AccessGateTestDummy );
You can’t perform that action at this time.
0 commit comments