TimelineHashtagRequest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Osnova\Services\Timeline\Requests;
4
5
class TimelineHashtagRequest extends TimelineRequest
6
{
7
    /** @var string */
8
    public $hashtag;
9
10
    /**
11
     * TimelineHashtagRequest constructor.
12
     *
13
     * @param string $hashtag
14
     * @param int    $count
15
     * @param int    $offset
16
     */
17
    public function __construct(string $hashtag, int $count = 20, int $offset = 0)
18
    {
19
        parent::__construct('', $count, $offset);
20
21
        $this->hashtag = $hashtag;
22
    }
23
}
24