Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
  • Loading branch information
Crell and TimWolla authored Jul 8, 2022
1 parent 55883fc commit 56b87e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ they MUST be on separate lines with no blank lines between them.

Multiple attributes MAY be placed in the same attribute block (`#[]`) if and only if the entire block is listed on a
single line. They must be separated by a comma with a space following but no space preceding. If the attribute list
is split into multiple lines for any reason, then the attributes MUST be placed in separate attribute blocks.
is split into multiple lines for any reason, then the attributes MUST be placed in separate attribute blocks.
Those blocks may themselves contain multiple attributes provided this rule is respected.

If an attribute's argument list is split into multiple lines for any reason, then:
Expand All @@ -1136,7 +1136,7 @@ class Demo
/**
* Sets the foo.
*/
#[Poink('narf'), Narf('poink')]
#[Poink('narf'), Narf('poink')]
public function setFoo(#[Beep] Foo $new): void
{
// ...
Expand Down

0 comments on commit 56b87e0

Please sign in to comment.