16 lines
320 B
PHP
16 lines
320 B
PHP
|
<?php declare(strict_types = 1);
|
||
|
|
||
|
namespace MailPoet\Validator\Schema;
|
||
|
|
||
|
if (!defined('ABSPATH')) exit;
|
||
|
|
||
|
|
||
|
use MailPoet\Validator\Schema;
|
||
|
|
||
|
// See: https://developer.wordpress.org/rest-api/extending-the-rest-api/schema/#primitive-types
|
||
|
class NullSchema extends Schema {
|
||
|
protected $schema = [
|
||
|
'type' => 'null',
|
||
|
];
|
||
|
}
|