Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 033db6e

Browse filesBrowse files
Fix merge
1 parent 03fc9d0 commit 033db6e
Copy full SHA for 033db6e

File tree

5 files changed

+6
-37
lines changed
Filter options

5 files changed

+6
-37
lines changed

‎src/Symfony/Component/Finder/Tests/Iterator/Iterator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Finder/Tests/Iterator/Iterator.php
+2-10Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,12 @@ public function next(): void
4343
next($this->values);
4444
}
4545

46-
/**
47-
* @return mixed
48-
*/
49-
#[\ReturnTypeWillChange]
50-
public function current()
46+
public function current(): mixed
5147
{
5248
return current($this->values);
5349
}
5450

55-
/**
56-
* @return mixed
57-
*/
58-
#[\ReturnTypeWillChange]
59-
public function key()
51+
public function key(): mixed
6052
{
6153
return key($this->values);
6254
}

‎src/Symfony/Component/Form/Tests/Fixtures/CustomArrayObject.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Fixtures/CustomArrayObject.php
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ public function offsetExists($offset): bool
2929
return \array_key_exists($offset, $this->array);
3030
}
3131

32-
/**
33-
* @param mixed $offset
34-
*
35-
* @return mixed
36-
*/
37-
#[\ReturnTypeWillChange]
38-
public function offsetGet($offset)
32+
public function offsetGet($offset): mixed
3933
{
4034
return $this->array[$offset];
4135
}

‎src/Symfony/Component/PropertyAccess/Tests/Fixtures/NonTraversableArrayObject.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/PropertyAccess/Tests/Fixtures/NonTraversableArrayObject.php
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ public function offsetExists($offset): bool
2929
return \array_key_exists($offset, $this->array);
3030
}
3131

32-
/**
33-
* @param mixed $offset
34-
*
35-
* @return mixed
36-
*/
37-
#[\ReturnTypeWillChange]
38-
public function offsetGet($offset)
32+
public function offsetGet($offset): mixed
3933
{
4034
return $this->array[$offset];
4135
}

‎src/Symfony/Component/PropertyAccess/Tests/Fixtures/TraversableArrayObject.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/PropertyAccess/Tests/Fixtures/TraversableArrayObject.php
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ public function offsetExists($offset): bool
2929
return \array_key_exists($offset, $this->array);
3030
}
3131

32-
/**
33-
* @param mixed $offset
34-
* @return mixed
35-
*/
36-
#[\ReturnTypeWillChange]
37-
public function offsetGet($offset)
32+
public function offsetGet($offset): mixed
3833
{
3934
return $this->array[$offset];
4035
}

‎src/Symfony/Component/Validator/Tests/Fixtures/CustomArrayObject.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Fixtures/CustomArrayObject.php
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ public function offsetExists($offset): bool
2929
return \array_key_exists($offset, $this->array);
3030
}
3131

32-
/**
33-
* @param mixed $offset
34-
*
35-
* @return mixed
36-
*/
37-
#[\ReturnTypeWillChange]
38-
public function offsetGet($offset)
32+
public function offsetGet($offset): mixed
3933
{
4034
return $this->array[$offset];
4135
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.