$results * @return array */ public function inspect( ParsedPage $page, array $results ): array { $hits = array(); foreach ( $page->facts->content as $fact ) { if ( 'copyright_year' !== $fact[0] || (int) $fact[1] >= $this->year ) { continue; } $hits[] = array( 'observation' => new Observation( self::ID, Priority::LOW, Priority::SUGGESTION, __( 'The copyright notice shows an old year', 'forensix-digital' ), 'old_copyright', Source::TEMPLATE, '', '', array( 'year' => (int) $fact[1] ) ), 'context' => '© ' . $fact[1], ); } return $hits; } }