geno/wp-content/plugins/mailpoet/lib/Validator/Schema/BooleanSchema.php

16 lines
326 B
PHP
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
<?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 BooleanSchema extends Schema {
protected $schema = [
'type' => 'boolean',
];
}