Skip to content

Commit 7ce8d97

Browse files
Fix formatting of function declaration in coding style
1 parent d4d45fc commit 7ce8d97

File tree

1 file changed

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

1 file changed

+12
-12
lines changed

general/development/policies/codingstyle/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,18 +1180,18 @@ If arguments are optional, then they should be marked appropriately as optional
11801180
<ValidExample>
11811181

11821182
```php
1183-
function goodfunction(
1184-
string $text,
1185-
?context $context = null,
1186-
bool $trusted = false,
1187-
?bool $clean = null,
1188-
bool $filter = true,
1189-
bool $para = true,
1190-
bool $newlines = true,
1191-
bool $overflowdiv = false,
1192-
bool $blanktarget = false,
1193-
bool $allowid = false,
1194-
): string;
1183+
function goodfunction(
1184+
string $text,
1185+
?context $context = null,
1186+
bool $trusted = false,
1187+
?bool $clean = null,
1188+
bool $filter = true,
1189+
bool $para = true,
1190+
bool $newlines = true,
1191+
bool $overflowdiv = false,
1192+
bool $blanktarget = false,
1193+
bool $allowid = false,
1194+
): string;
11951195
```
11961196

11971197
</ValidExample>

0 commit comments

Comments
 (0)