File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public function bar(): bool
13
13
14
14
public function foo (): ?string
15
15
{
16
- foreach ($ itens as $ item ) {
16
+ foreach ($ items as $ item ) {
17
17
if (! $ item ->isItem ()) {
18
18
return 'There is an item that is not an item ' ;
19
19
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function bar(): bool
17
17
18
18
public function foo (): ?string
19
19
{
20
- foreach ($ itens as $ item ) {
20
+ foreach ($ items as $ item ) {
21
21
if (! ($ item ->isItem ())) {
22
22
return 'There is an item that is not an item ' ;
23
23
} else {
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ index 5a82a93..7d5eb01 100644
69
69
- public function foo(): ?string
70
70
+ public function foo(): string|null
71
71
{
72
- foreach ($itens as $item) {
72
+ foreach ($items as $item) {
73
73
if (! $item->isItem()) {
74
74
diff --git a/tests/fixed/NamingCamelCase.php b/tests/fixed/NamingCamelCase.php
75
75
index 57d9f2b..5493471 100644
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ index 5a82a93..7d5eb01 100644
69
69
- public function foo(): ?string
70
70
+ public function foo(): string|null
71
71
{
72
- foreach ($itens as $item) {
72
+ foreach ($items as $item) {
73
73
if (! $item->isItem()) {
74
74
diff --git a/tests/fixed/NamingCamelCase.php b/tests/fixed/NamingCamelCase.php
75
75
index 57d9f2b..5493471 100644
You can’t perform that action at this time.
0 commit comments