Passed
Push — main ( 0b6967...cc8184 )
by Dylan
02:05
created

Pages   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A all() 0 3 1
1
<?php
2
3
namespace Lifeboat\Services;
4
5
use Lifeboat\Resource\ListResource;
6
use Lifeboat\Resource\SimpleList;
7
8
/**
9
 * Class Pages
10
 * @package Lifeboat\Services
11
 */
12
class Pages extends ApiService {
13
14
    /**
15
     * @return ListResource|SimpleList
16
     */
17
    public function all(): ListResource
18
    {
19
        return new SimpleList($this->getClient(), 'api/pages/all', []);
20
    }
21
}
22