GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( fbb5ac...c7b337 )
by Cees-Jan
02:35
created

WampHelper   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 1
cbo 2
dl 0
loc 7
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A beforeLayout() 0 4 1
1
<?php
2
3
namespace WyriHaximus\Ratchet\View\Helper;
4
5
use Cake\View\Helper;
6
7
class WampHelper extends Helper
8
{
9
    public function beforeLayout()
10
    {
11
        $this->_View->append('script', $this->_View->element('WyriHaximus\Ratchet.wamp'));
12
    }
13
}
14