@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | |
140 | 140 | private function makeEmptyErrorHandler(): ExceptionHandler |
141 | 141 | { |
142 | - return new class extends ExceptionHandler { |
|
142 | + return new class extends ExceptionHandler{ |
|
143 | 143 | protected function bootBasicHandlers(): void |
144 | 144 | { |
145 | 145 | } |
@@ -154,17 +154,17 @@ discard block |
||
154 | 154 | public static function nonReportableExceptionsDataProvider(): \Traversable |
155 | 155 | { |
156 | 156 | yield [new BadRequestException()]; |
157 | - yield [new class extends BadRequestException {}]; |
|
157 | + yield [new class extends BadRequestException{}]; |
|
158 | 158 | yield [new NotFoundException()]; |
159 | - yield [new class extends NotFoundException {}]; |
|
159 | + yield [new class extends NotFoundException{}]; |
|
160 | 160 | yield [new ForbiddenException()]; |
161 | - yield [new class extends ForbiddenException {}]; |
|
161 | + yield [new class extends ForbiddenException{}]; |
|
162 | 162 | yield [new UnauthorizedException()]; |
163 | - yield [new class extends UnauthorizedException {}]; |
|
163 | + yield [new class extends UnauthorizedException{}]; |
|
164 | 164 | yield [new AuthorizationException()]; |
165 | - yield [new class extends AuthorizationException {}]; |
|
165 | + yield [new class extends AuthorizationException{}]; |
|
166 | 166 | yield [new ValidationException([])]; |
167 | - yield [new class([]) extends ValidationException {}]; |
|
167 | + yield [new class([]) extends ValidationException{}]; |
|
168 | 168 | yield [new TestException()]; |
169 | 169 | } |
170 | 170 | } |