protected function maybeCreateNop(int $tokenStartPos, int $tokenEndPos) : ?Nop { if ($this->getCommentBeforeToken($tokenStartPos) === null) { return null; } return new Nop($this->getAttributes($tokenStartPos, $tokenEndPos)); }