Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Filters/ExactMatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace PHP_CodeSniffer\Filters;

use PHP_CodeSniffer\Util;
use ReturnTypeWillChange;

abstract class ExactMatch extends Filter
{
Expand Down Expand Up @@ -40,6 +41,7 @@ abstract class ExactMatch extends Filter
*
* @return bool
*/
#[ReturnTypeWillChange]
public function accept()
{
if (parent::accept() === false) {
Expand Down Expand Up @@ -79,6 +81,7 @@ public function accept()
*
* @return \RecursiveIterator
*/
#[ReturnTypeWillChange]
public function getChildren()
{
$children = parent::getChildren();
Expand Down