Skip to content

Commit

Permalink
phpcs checks for order of scalar|null
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson committed Jan 9, 2024
1 parent 6feddd5 commit 51e8689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Form/Element/ObjectMultiCheckbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function setValue($value)
/**
* {@inheritDoc}
*
* @return array<int<0, max>|string, array{attributes?: array<string, null|scalar>, disabled?: bool, label: non-empty-string, label_attributes?: array<string, null|scalar>, selected?: bool, value: non-empty-string}|string>
* @return array<int<0, max>|string, array{attributes?: array<string, scalar|null>, disabled?: bool, label: non-empty-string, label_attributes?: array<string, scalar|null>, selected?: bool, value: non-empty-string}|string>
*/
public function getValueOptions(): array
{
Expand Down
2 changes: 1 addition & 1 deletion src/Form/Element/ObjectRadio.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function setValue($value)
/**
* {@inheritDoc}
*
* @return array<int<0, max>|string, array{attributes?: array<string, null|scalar>, disabled?: bool, label: non-empty-string, label_attributes?: array<string, null|scalar>, selected?: bool, value: non-empty-string}|string>
* @return array<int<0, max>|string, array{attributes?: array<string, scalar|null>, disabled?: bool, label: non-empty-string, label_attributes?: array<string, scalar|null>, selected?: bool, value: non-empty-string}|string>
*/
public function getValueOptions(): array
{
Expand Down

0 comments on commit 51e8689

Please sign in to comment.