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::all()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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