WebSocketException   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 23
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A report() 0 4 1
A render() 0 4 1
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
}