]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - application/api/exceptions/ApiBadParametersException.php
lint: apply phpcbf to application/
[github/shaarli/Shaarli.git] / application / api / exceptions / ApiBadParametersException.php
CommitLineData
18e67967
A
1<?php
2
3namespace Shaarli\Api\Exceptions;
4
5/**
6 * Class ApiBadParametersException
7 *
8 * Invalid request exception, return a 400 HTTP code.
9 */
10class ApiBadParametersException extends ApiException
11{
12 /**
13 * {@inheritdoc}
14 */
15 public function getApiResponse()
16 {
17 return $this->buildApiResponse(400);
18 }
19}