Skip to content

Commit 7045e68

Browse files
Remove BC layers related to new methods and new parameters
1 parent 38e3a20 commit 7045e68

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
7.0
5+
---
6+
7+
* Add method `isNullSafe()` to `PropertyPathInterface`
8+
49
6.3
510
---
611

PropertyPathInterface.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
*
1717
* @author Bernhard Schussek <[email protected]>
1818
*
19-
* @method bool isNullSafe(int $index) Returns whether the element at the given index is null safe. Not implementing it is deprecated since Symfony 6.2
20-
*
2119
* @extends \Traversable<int, string>
2220
*/
2321
interface PropertyPathInterface extends \Traversable
@@ -85,4 +83,9 @@ public function isProperty(int $index);
8583
* @throws Exception\OutOfBoundsException If the offset is invalid
8684
*/
8785
public function isIndex(int $index);
86+
87+
/**
88+
* Returns whether the element at the given index is null safe.
89+
*/
90+
public function isNullSafe(int $index): bool;
8891
}

0 commit comments

Comments
 (0)