Feeds   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 listFeeds() 0 4 1
1
<?php
2
namespace FlexyProject\GitHub\Receiver\Activity;
3
4
/**
5
 * The Atom feeds API class provide access to a list of Atom feeds available for the authenticated user.
6
 *
7
 * @link    https://developer.github.com/v3/activity/feeds/
8
 * @package GitHub\Receiver\Activity
9
 */
10
class Feeds extends AbstractActivity
11
{
12
13
    /**
14
     * List Feeds
15
     *
16
     * @link https://developer.github.com/v3/activity/feeds/#list-feeds
17
     * @return array
18
     */
19
    public function listFeeds(): array
20
    {
21
        return $this->getApi()->request(sprintf('/feeds'));
22
    }
23
}