Skip to content

Commit

Permalink
fix parentheses in class definition (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavf authored and sirbrillig committed Nov 21, 2019
1 parent a51400f commit 92f6325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Sniffs/Imports/NestedFunctionsFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function nestedFuncA( $arg ) {
doAThing( 'dothingfunc' ); // warning: undefined
}

class MyThing() {
class MyThing {
public function doAThing() {
function nestedFuncB( $arg ) {
echo $arg . ' world';
Expand Down

0 comments on commit 92f6325

Please sign in to comment.