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

IMAT   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
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 14
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A int_i() 0 3 1
1
<?php
2
/**
3
 * Trait MathAndTrigonometry-I
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-I
13
 */
14
trait IMAT
15
{
16
    /**
17
     * 将数字向下舍入到最接近的整数
18
     *
19
     * - int 是关键字,这里用上后缀 _i
20
     *
21
     * @param double $number 必需。 需要进行向下舍入取整的实数
22
     *
23
     * @return integer
24
     */
25 1
    public static function int_i($number)
26
    {
27 1
        return floor($number);
28
    }
29
}
30