GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch dev (ec2832)
by t
03:09
created

QMAT   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 13
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A quotient() 0 3 1
1
<?php
2
/**
3
 * Trait MathAndTrigonometry-Q
4
 *
5
 * @link https://www.icy2003.com/
6
 * @author icy2003 <[email protected]>
7
 * @copyright Copyright (c) 2017, icy2003
8
 */
9
namespace icy2003\php\icomponents\excel\mathAndTrigonometry;
10
11
/**
12
 * MathAndTrigonometry-Q
13
 */
14
trait QMAT
15
{
16
    /**
17
     * 返回除法的整数部分。 要放弃除法的余数时,可使用此函数
18
     *
19
     * @param double $numberator 必需。 被除数
20
     * @param double $denominator 必需。 除数
21
     *
22
     * @return integer
23
     */
24 1
    public static function quotient($numberator, $denominator)
25
    {
26 1
        return (int) ($numberator / $denominator);
27
    }
28
}
29