Skip to content

Commit d9697fc

Browse files
committed
Apply fixes from StyleCI
1 parent adc2dc4 commit d9697fc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/Auth/AuthAccessGateTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,9 @@ public function testCanSetDenialResponseInConstructor()
11181118

11191119
$gate->defaultDenialResponse(Response::denyWithStatus(999, 'my_message', 'abc'));
11201120

1121-
$gate->define('foo', function() { return false; });
1121+
$gate->define('foo', function () {
1122+
return false;
1123+
});
11221124

11231125
$response = $gate->inspect('foo', new AccessGateTestDummy);
11241126

@@ -1135,7 +1137,9 @@ public function testCanSetDenialResponse()
11351137
//
11361138
});
11371139

1138-
$gate->define('foo', function() { return false; });
1140+
$gate->define('foo', function () {
1141+
return false;
1142+
});
11391143
$gate->defaultDenialResponse(Response::denyWithStatus(404, 'not_found', 'xyz'));
11401144

11411145
$response = $gate->inspect('foo', new AccessGateTestDummy);

0 commit comments

Comments
 (0)