-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 5.4: [Console] Restore psr/log >= 3.0 conflict [Security] Make the abstract Voter class implement CacheableVoterInterface Add generic types to traversable implementations [Security] Fix TypeError message [Security] Fix deprecation layer [FrameworkBundle] Add completion for workflow:dump Fix cancel button Fix misleading error on missing provider with authenticator manager Don't limit retries of toolbar loading
- Loading branch information
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,8 @@ | |
* Default implementation of {@link PropertyPathInterface}. | ||
* | ||
* @author Bernhard Schussek <[email protected]> | ||
* | ||
* @implements \IteratorAggregate<int, string> | ||
*/ | ||
class PropertyPath implements \IteratorAggregate, PropertyPathInterface | ||
{ | ||
|
@@ -30,7 +32,7 @@ class PropertyPath implements \IteratorAggregate, PropertyPathInterface | |
/** | ||
* The elements of the property path. | ||
* | ||
* @var array | ||
* @var string[] | ||
*/ | ||
private $elements = []; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ | |
* A sequence of property names or array indices. | ||
* | ||
* @author Bernhard Schussek <[email protected]> | ||
* | ||
* @extends \Traversable<int, string> | ||
*/ | ||
interface PropertyPathInterface extends \Traversable | ||
{ | ||
|
@@ -45,7 +47,7 @@ public function getParent(); | |
/** | ||
* Returns the elements of the property path as array. | ||
* | ||
* @return array | ||
* @return string[] | ||
*/ | ||
public function getElements(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,10 @@ | |
|
||
/** | ||
* @author Bernhard Schussek <[email protected]> | ||
* | ||
* @extends \SeekableIterator<int, string> | ||
*/ | ||
interface PropertyPathIteratorInterface extends \Iterator, \SeekableIterator | ||
interface PropertyPathIteratorInterface extends \SeekableIterator | ||
{ | ||
/** | ||
* Returns whether the current element in the property path is an array | ||
|