Passed
Push — master ( 60b6ca...163cac )
by Kylian
06:19
created

ResponseMaps::getBeatMaps()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace KriKrixs\object\response;
4
5
class ResponseMaps extends Response
6
{
7
    private array $beatMaps = [];
8
9
    /**
10
     * Get beatmaps (array of BeatMap object)
11
     * @return array
12
     */
13
    public function getBeatMaps(): array
14
    {
15
        return $this->beatMaps;
16
    }
17
18
    /**
19
     * Set beatmaps
20
     * @param array $beatMaps
21
     * @return ResponseMaps
22
     */
23
    public function setBeatMaps(array $beatMaps): ResponseMaps
24
    {
25
        $this->beatMaps = $beatMaps;
26
        return $this;
27
    }
28
}