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 ( 85a862...11240b )
by Mark
02:23
created

CarouselRepository::all()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 4
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Mark
5
 * Date: 08/01/2017
6
 * Time: 00:05.
7
 */
8
9
namespace App\Classes\Repositories;
10
11
use App\Model\Carousel;
12
use Illuminate\Support\Collection;
13
use Illuminate\Database\Eloquent\Builder;
14
15
/**
16
 * Class SliderRepository.
17
 */
18
class CarouselRepository extends Carousel
19
{
20
    /**
21
     * @param int $integer
22
     * @return Carousel
23
     */
24
    public function whereID(int $integer) : Carousel
25
    {
26
        return $this->where('id', $integer)->first();
27
    }
28
}
29