minor: don't mute call to trigger_deprecation()
This commit is contained in:
parent
d2e589c0ec
commit
e970027682
@ -502,7 +502,7 @@ class Crawler implements \Countable, \IteratorAggregate
|
|||||||
*/
|
*/
|
||||||
public function parents()
|
public function parents()
|
||||||
{
|
{
|
||||||
@trigger_deprecation('symfony/dom-crawler', '5.3', sprintf('The %s() method is deprecated, use ancestors() instead.', __METHOD__));
|
trigger_deprecation('symfony/dom-crawler', '5.3', sprintf('The %s() method is deprecated, use ancestors() instead.', __METHOD__));
|
||||||
|
|
||||||
return $this->ancestors();
|
return $this->ancestors();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user