Skip to content

Commit 123f5dc

Browse files
committed
Fix code style
1 parent a0df696 commit 123f5dc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/PHPStan/Rules/Exceptions/data/bug-11906.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
namespace Bug11906;
44

5-
declare(strict_types=1);
6-
75
function func(): void {
86
try {
97
throw new LogicException('test');
10-
} catch (LogicException) {
8+
} catch (LogicException $e) {
119
// This catch-block should cause line 9 to not be treated as an exit point
1210
} finally {
1311
if (getenv('FOO')) {

0 commit comments

Comments
 (0)