Meta::get()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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
}