minor: don't mute call to trigger_deprecation()

This commit is contained in:
Robin Chalas 2021-01-03 17:04:20 +01:00
parent d2e589c0ec
commit e970027682

View File

@ -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();
} }