Merge "Add .pipeline/ with dev image variant"
[lhc/web/wiklou.git] / includes / Rest / Validator / NullBodyValidator.php
1 <?php
2
3 namespace MediaWiki\Rest\Validator;
4
5 use MediaWiki\Rest\RequestInterface;
6
7 /**
8 * Do-nothing body validator
9 */
10 class NullBodyValidator implements BodyValidator {
11
12 public function validateBody( RequestInterface $request ) {
13 return null;
14 }
15
16 }