mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 00:37:42 +02:00
[ticket/12721] Add Generic.Functions.OpeningFunctionBraceBsdAllman
PHPBB3-12721
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
<!-- Lowercase filenames are required. -->
|
||||
<rule ref="Generic.Files.LowercasedFilename" />
|
||||
|
||||
<!-- Function declarations follow the "BSD/Allman style".
|
||||
The function brace is on the line following the function declaration and is indented to the same column as the start of the function declaration. -->
|
||||
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman" />
|
||||
|
||||
<!-- There MUST be exactly one space after a cast. -->
|
||||
<rule ref="Generic.Formatting.SpaceAfterCast" />
|
||||
|
||||
|
@@ -39,7 +39,8 @@ class recursive_event_filter_iterator extends \RecursiveFilterIterator
|
||||
*
|
||||
* @return recursive_event_filter_iterator
|
||||
*/
|
||||
public function getChildren() {
|
||||
public function getChildren()
|
||||
{
|
||||
return new self($this->getInnerIterator()->getChildren(), $this->root_path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user