Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Pull Request — master (#122)
by Mark
22:40 queued 02:31
created

ProductsController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A icon() 0 4 1
A version() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Marky
5
 * Date: 23/01/2018
6
 * Time: 15:14.
7
 */
8
9
namespace App\Plugins\Products;
10
11
use App\Plugins\PluginHandler;
12
13
/**
14
 * Class ArticleController.
15
 */
16
class ProductsController extends PluginHandler
17
{
18
    /**
19
     * Return the icon associated with this plugin.
20
     */
21
    public function icon()
22
    {
23
        return 'fa-book';
24
    }
25
26
    /**
27
     * Return the version for this plugin.
28
     */
29
    public function version()
30
    {
31
        return '1.3';
32
    }
33
}
34