Passed
Push — master ( b16a12...abed16 )
by Ax
09:12
created

Avatars   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 11
ccs 0
cts 2
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A find() 0 3 1
1
<?php
2
3
namespace SchoppAx\Sleeper\Api;
4
5
class Avatars extends Api
6
{
7
8
    /**
9
     * @param string $avatarId
10
     * @return object thumbnail images for each avatar
11
     * @throws SleeperException
12
     */
13
    public function find(string $avatarId)
14
    {
15
      return $this->get('avatars/thumbs/' . $avatarId);
16
    }
17
18
}
19