Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
brendt committed Mar 20, 2024
2 parents e315244 + 01bf485 commit e41f194
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Languages/Php/Patterns/AttributePattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
#[PatternTest(input: '#[Foo(prop: hi)]', output: '#[Foo(prop: hi)]')]
#[PatternTest(input: '#[\\AllowDynamicProperties]', output: '#[\\AllowDynamicProperties]')]
#[PatternTest(
input:
input:
'#[Foo(
prop: hi,
)]',
output:
output:
'#[Foo(
prop: hi,
)]'
),
),
]
final readonly class AttributePattern implements Pattern
{
Expand Down
3 changes: 2 additions & 1 deletion src/Languages/Php/Patterns/AttributeTypePattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
Bar(uri: "/books/create"),
Baz,
]',
output: ['Foo', 'Bar', 'Baz'])]
output: ['Foo', 'Bar', 'Baz']
)]
final readonly class AttributeTypePattern implements Pattern
{
use IsPattern;
Expand Down

0 comments on commit e41f194

Please sign in to comment.