Skip to content

Commit af6da50

Browse files
committed
Clarify empty statement rules
1 parent af462c8 commit af6da50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ function fooBarBaz($arg1, &$arg2, $arg3 = [])
512512
}
513513
```
514514

515-
If a function or method contains no statements (such as a no-op implementation or when using
515+
If a function or method contains no statements or comments (such as an empty no-op implementation or when using
516516
constructor property promotion), then the body SHOULD be abbreviated as `{}` and placed on the same
517517
line as the previous symbol, separated by a space. For example:
518518

0 commit comments

Comments
 (0)