Issues (2921)

src/Exception/HttpException.php (12 issues)

1
<?php
2
3
/**
4
 * This file is part of the `tvi/monitor-bundle` project.
5
 *
6
 * (c) https://github.com/turnaev/monitor-bundle/graphs/contributors
7
 *
8
 * For the full copyright and license information, please view the LICENSE.md
9
 * file that was distributed with this source code.
10
 */
0 ignored issues
show
PHP version not specified
Loading history...
Missing @category tag in file comment
Loading history...
Missing @package tag in file comment
Loading history...
Missing @author tag in file comment
Loading history...
Missing @license tag in file comment
Loading history...
Missing @link tag in file comment
Loading history...
11
12
namespace Tvi\MonitorBundle\Exception;
13
14
/**
0 ignored issues
show
Missing short description in doc comment
Loading history...
15
 * @author Vladimir Turnaev <[email protected]>
16
 */
0 ignored issues
show
Missing @category tag in class comment
Loading history...
Missing @package tag in class comment
Loading history...
Missing @license tag in class comment
Loading history...
Missing @link tag in class comment
Loading history...
17
class HttpException extends \Symfony\Component\HttpKernel\Exception\HttpException
18
{
19 4
    public function toArray()
0 ignored issues
show
Missing doc comment for function toArray()
Loading history...
20
    {
21 4
        return ['Error' => ['code' => $this->getStatusCode(), 'message' => $this->getMessage()]];
22
    }
23
}
24