You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: general/development/policies/codingstyle/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1175,7 +1175,7 @@ public function bad_function(
1175
1175
1176
1176
</InvalidExample>
1177
1177
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.
0 commit comments