Skip to content

Commit

Permalink
Apply php7.3 in Rector preset (#1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored Sep 4, 2024
1 parent f1dcb40 commit 06c2ecd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@
RemoveEmptyClassMethodRector::class,
RemoveUnusedPromotedPropertyRector::class,
])
->withPhpSets(php72: true)
->withPhpSets(php73: true)
->withPreparedSets(deadCode: true);
3 changes: 3 additions & 0 deletions src/Framework/Bootloader/Http/JsonPayloadConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ class JsonPayloadConfig extends InjectableConfig
],
];

/**
* @return array<string>
*/
public function getContentTypes(): array
{
return $this->config['contentTypes'];
Expand Down

0 comments on commit 06c2ecd

Please sign in to comment.