GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 912221...961991 )
by Gallice
05:44 queued 02:40
created

CallbackEvent::getType()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
nc 1
1
<?php
2
3
namespace Tgallice\FBMessenger\Callback;
4
5
abstract class CallbackEvent
6
{
7
    private $senderId;
8
    private $recipientId;
9
10 62
    public function __construct($senderId, $recipientId)
11
    {
12 62
        $this->senderId = $senderId;
13 62
        $this->recipientId = $recipientId;
14 62
    }
15
16
    /**
17
     * Sender Id. Generally the User Id
18
     *
19
     * @return string
20
     */
21 8
    public function getSenderId()
22
    {
23 8
        return $this->senderId;
24
    }
25
26
    /**
27
     * Recipient Id. Generally the Page Id
28
     *
29
     * @return string
30
     */
31 8
    public function getRecipientId()
32
    {
33 8
        return $this->recipientId;
34
    }
35
36
    /**
37
     * @return string
38
     */
39
    abstract public function getType();
40
}
41