For ease of understanding, use the same technique for both
sides of the comparison. Follows-up
c2a308075f.
Change-Id: I66475fd4baaa6ab7cd24ad884e9fe01a1cd30d9f
* results available.
*/
public function __construct( $containedSyntax = false, $hasMoreResults = false ) {
- if ( static::class === __CLASS__ ) {
+ if ( static::class === self::class ) {
// This class will eventually be abstract. SearchEngine implementations
// already have to extend this class anyways to provide the actual
// search results.