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
Pull Request — master (#1)
by Ema
03:02
created

FileMetadata   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 25
ccs 0
cts 18
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFields() 0 18 1
1
<?php
2
3
namespace Pnz\MattermostClient\Model\File;
4
5
6
use Pnz\MattermostClient\Model\Model;
7
8
class FileMetadata extends Model
9
{
10
11
    /**
12
     * {@inheritdoc}
13
     */
14
    protected static function getFields()
15
    {
16
        return [
17
            'id',
18
            'user_id',
19
            'post_id',
20
            'create_at',
21
            'update_at',
22
            'delete_at',
23
            'name',
24
            'extension',
25
            'size',
26
            'mime_type',
27
            'width',
28
            'height',
29
            'has_preview_image',
30
        ];
31
    }
32
}