Commit 52c9cf8
Generic/UselessOverridingMethod: fix syntax errors in the documentation
This commit fixes two syntax errors in the PHP code examples in the
sniff documentation.
Previously, the provided code would cause the following PHP error:
```
PHP Fatal error: Cannot use "parent" when current class scope has no
parent
```1 parent cd54d60 commit 52c9cf8
File tree
1 file changed
+2
-2
lines changed- src/Standards/Generic/Docs/CodeAnalysis
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments