wikimedia/mediawiki-extensions-Wikibase

View on GitHub
lib/packages/wikibase/data-model/src/Snak/PropertyNoValueSnak.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Wikibase\DataModel\Snak;

/**
 * Class representing a property no value snak.
 * See https://www.mediawiki.org/wiki/Wikibase/DataModel#PropertyNoValueSnak
 *
 * @since 0.1
 *
 * @license GPL-2.0-or-later
 * @author Jeroen De Dauw < jeroendedauw@gmail.com >
 */
class PropertyNoValueSnak extends SnakObject {

    /**
     * @see Snak::getType
     *
     * @since 0.2
     *
     * @return string
     */
    public function getType() {
        return 'novalue';
    }

}