WebSocketException::report()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: shanmaseen
5
 * Date: 23/03/19
6
 * Time: 10:57 م
7
 */
8
9
namespace Shamaseen\Laravel\Ratchet\Exceptions;
10
11
12
use Exception;
13
14
/**
15
 * Class WebSocketException
16
 * @package App\Exceptions
17
 */
18
class WebSocketException extends Exception
19
{
20
    /**
21
     * Report the exception.
22
     *
23
     * @return void
24
     */
25
    public function report()
26
    {
27
        //
28
    }
29
30
    /**
31
     * Render the exception into an HTTP response.
32
     *
33
     * @param  \Illuminate\Http\Request
34
     * @return \Illuminate\Http\Response
35
     */
36
    public function render($request)
0 ignored issues
show
Unused Code introduced by
The parameter $request is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
37
    {
38
        return null;
39
    }
40
}