Meta   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A get() 0 4 1
1
<?php
2
namespace FlexyProject\GitHub\Receiver\Miscellaneous;
3
4
/**
5
 * The Meta API class provides information about GitHub.com (the service) or your organization’s GitHub Enterprise
6
 * installation.
7
 *
8
 * @link    https://developer.github.com/v3/meta/
9
 * @package FlexyProject\GitHub\Receiver\Miscellaneous
10
 */
11
class Meta extends AbstractMiscellaneous
12
{
13
14
    /**
15
     * Meta, provides information about GitHub.com, the service.
16
     *
17
     * @link https://developer.github.com/v3/meta/#meta
18
     * @return array
19
     */
20
    public function get(): array
21
    {
22
        return $this->getApi()->request('/meta');
23
    }
24
}