mirror of
https://github.com/flarum/core.git
synced 2025-10-27 05:31:29 +01:00
23 lines
406 B
PHP
23 lines
406 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* For detailed copyright and license information, please view the
|
|
* LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Flarum\Post;
|
|
|
|
use Flarum\Foundation\AbstractValidator;
|
|
|
|
class PostValidator extends AbstractValidator
|
|
{
|
|
protected $rules = [
|
|
'content' => [
|
|
'required',
|
|
'max:65535'
|
|
]
|
|
];
|
|
}
|