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

Test Failed
Push — development ( a51bef...1aad8e )
by José
08:14
created

Invites   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A all() 0 4 1
A findById() 0 4 1
1
<?php
2
3
namespace DoeSangue\Repositories;
4
use DoeSangue\Models\Invite;
5
6
class Invites
7
{
8
9
    /**
10
     * Returns all Invites from Invite model.
11
     *
12
     * @return void
13
     */
14
    public function all()
15
    {
16
        return Invite::all();
17
    }
18
19
    /**
20
     * Returns the Invite by specified ID.
21
     *
22
     * @return void
23
     */
24
    public function findById($id)
25
    {
26
        return Invite::whereId($id)->get();
27
    }
28
}
29