Skip to content

Commit

Permalink
CS: whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryJones authored Sep 9, 2020
1 parent 5591547 commit 14c9d9b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ private function processFunctionBody( $stackPtr ) {

$filterName = $this->tokens[ $this->filterNamePtr ]['content'];

$methodProps = $this->phpcsFile->getMethodProperties($stackPtr);
if ($methodProps['is_abstract'] === true) {
$methodProps = $this->phpcsFile->getMethodProperties( $stackPtr );
if ( $methodProps['is_abstract'] === true ) {
$message = 'The callback for the `%s` filter hook-in points to an abstract method. Please, make sure that all child class implementations of this abstract method always return a value.';
$data = [ $filterName ];
$this->phpcsFile->addWarning( $message, $stackPtr, 'AbstractMethod', $data );
Expand Down

0 comments on commit 14c9d9b

Please sign in to comment.