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.

Issues (114)

elevate/HVObjects/Generic/AppointmentExtension.php (1 issue)

1
<?php
2
/**
3
 * @author - Sumit
4
 */
5
6
namespace elevate\HVObjects\Generic;
7
8
use JMS\Serializer\Annotation\Type;
9
use JMS\Serializer\Annotation\XmlValue;
10
use JMS\Serializer\Annotation\SerializedName;
11
use JMS\Serializer\Annotation\XmlMap;
12
use JMS\Serializer\Annotation\XmlRoot;
13
use JMS\Serializer\Annotation\XmlAttribute;
14
use JMS\Serializer\Annotation\XmlList;
15
use JMS\Serializer\Annotation\Groups;
16
use JMS\Serializer\Annotation\XmlKeyValuePairs;
17
use Doctrine\Common\Collections\ArrayCollection;
18
use JMS\Serializer\Annotation\AccessorOrder;
19
use elevate\HVObjects\Generic\Recurrent;
20
use elevate\HVObjects\Generic\Extension;
21
22
/**
23
 * @XmlRoot("extension")
24
 */
25
class AppointmentExtension extends Extension
26
{
27
28
    /**
29
     * @Type("elevate\HVObjects\Generic\Recurrent")
30
     * @SerializedName("repeat")
31
     */
32
    public $repeat;
33
34
    function __construct($source, $repeat)
0 ignored issues
show
Comprehensibility Best Practice introduced by
It is recommend to declare an explicit visibility for __construct.

Generally, we recommend to declare visibility for all methods in your source code. This has the advantage of clearly communication to other developers, and also yourself, how this method should be consumed.

If you are not sure which visibility to choose, it is a good idea to start with the most restrictive visibility, and then raise visibility as needed, i.e. start with private, and only raise it to protected if a sub-class needs to have access, or public if an external class needs access.

Loading history...
35
    {
36
        $this->source = $source;
37
        $this->repeat = $repeat;
38
    }
39
40
41
}