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

Passed
Push — master ( 9eaac4...d9a8b1 )
by Dan
04:15
created

RaceID::getRaceID()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
1
<?php declare(strict_types=1);
2
3
namespace Traits;
4
5
/**
6
 * Implements the interface for classes that need a $raceID property.
7
 */
8
trait RaceID {
9
	protected int $raceID;
10
11
	public function getRaceID() : int {
12
		return $this->raceID;
13
	}
14
15
	public function getRaceName() : string {
16
		return \Globals::getRaceName($this->raceID);
17
	}
18
}
19