Skip to content

Commit ea67af0

Browse files
Update general/development/policies/codingstyle/index.md
Co-authored-by: Andrew Lyons <[email protected]>
1 parent fd634e8 commit ea67af0

File tree

1 file changed

+1
-1
lines changed
  • general/development/policies/codingstyle

1 file changed

+1
-1
lines changed

general/development/policies/codingstyle/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ public function bad_function(
11751175

11761176
</InvalidExample>
11771177

1178-
If arguments are optional, then they should be marked appropriately as optional with a default value.
1178+
Instead of a generic array of options, each option should be specified as a function parameter. Optional arguments should provide appropriate defaults.
11791179

11801180
<ValidExample>
11811181

0 commit comments

Comments
 (0)