Completed
Pull Request — master (#1)
by Raymond
02:20
created

getValidRelations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace RayRutjes\GetEventStore\Client\Http\Feed;
4
5
final class PersistentSubscriptionInfoFeedLink extends AbstractFeedLink
6
{
7
    const LINK_INFO = 'detail';
8
    const LINK_REPLAY_PARKED = 'replayParked';
9
10
    /**
11
     * @return array
12
     */
13
    protected function getValidRelations(): array
14
    {
15
        return [self::LINK_INFO, self::LINK_REPLAY_PARKED];
16
    }
17
}
18