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
Push — master ( 70e47f...dda101 )
by Mark
07:55
created

NewsletterRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Marky
5
 * Date: 02/03/2018
6
 * Time: 11:37
7
 */
8
9
namespace App\Plugins\Newsletters\Model;
10
11
use Illuminate\Support\Collection;
12
use Illuminate\Database\Eloquent\Builder;
13
use App\Classes\Repositories\BaseRepository;
14
15
/**
16
 * Class NewsletterRepository
17
 *
18
 * @package App\Plugins\Newsletters\Model
19
 */
20
class NewsletterRepository extends BaseRepository
21
{
22
    /**
23
     * @var Newsletter|Builder|Collection
24
     */
25
    protected $model;
26
27
    /**
28
     * PageRepository constructor.
29
     *
30
     * @param Newsletter $model
31
     */
32
    public function __construct(Newsletter $model)
33
    {
34
        $this->model = $model;
35
    }
36
}