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.

Code Duplication    Length = 12-12 lines in 3 locations

src/LPTracker/models/Employee.php 1 location

@@ 65-76 (lines=12) @@
62
     * @return bool
63
     * @throws LPTrackerSDKException
64
     */
65
    public function validate()
66
    {
67
        if ($this->id === null) {
68
            throw new LPTrackerSDKException('Employee ID is required');
69
        }
70
71
        if (empty($this->name)) {
72
            throw new LPTrackerSDKException('Employee name is required');
73
        }
74
75
        return true;
76
    }
77
78
    /**
79
     * @return array

src/LPTracker/models/Project.php 1 location

@@ 49-60 (lines=12) @@
46
     * @return bool
47
     * @throws LPTrackerSDKException
48
     */
49
    public function validate()
50
    {
51
        if (empty($this->id)) {
52
            throw new LPTrackerSDKException('Project ID is required');
53
        }
54
55
        if (empty($this->name)) {
56
            throw new LPTrackerSDKException('Project name is required');
57
        }
58
59
        return true;
60
    }
61
62
    /**
63
     * @return array

src/LPTracker/models/Stage.php 1 location

@@ 57-68 (lines=12) @@
54
     * @return bool
55
     * @throws LPTrackerSDKException
56
     */
57
    public function validate()
58
    {
59
        if (empty($this->id)) {
60
            throw new LPTrackerSDKException('Stage ID is required');
61
        }
62
63
        if (empty($this->name)) {
64
            throw new LPTrackerSDKException('Stage name is required');
65
        }
66
67
        return true;
68
    }
69
70
    /**
71
     * @return array