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 = 7-7 lines in 6 locations

src/SmsapiMessage.php 1 location

@@ 79-85 (lines=7) @@
76
     * @param  bool $test
77
     * @return self
78
     */
79
    public function test($test = true)
80
    {
81
        ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $test);
82
        $this->data['test'] = $test;
83
84
        return $this;
85
    }
86
}
87

src/SmsapiSmsMessage.php 5 locations

@@ 60-66 (lines=7) @@
57
     * @param  bool $fast
58
     * @return self
59
     */
60
    public function fast($fast = true)
61
    {
62
        ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $fast);
63
        $this->data['fast'] = $fast;
64
65
        return $this;
66
    }
67
68
    /**
69
     * @param  bool $flash
@@ 72-78 (lines=7) @@
69
     * @param  bool $flash
70
     * @return self
71
     */
72
    public function flash($flash = true)
73
    {
74
        ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $flash);
75
        $this->data['flash'] = $flash;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @param  string $encoding
@@ 96-102 (lines=7) @@
93
     * @param  bool $normalize
94
     * @return self
95
     */
96
    public function normalize($normalize = true)
97
    {
98
        ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $normalize);
99
        $this->data['normalize'] = $normalize;
100
101
        return $this;
102
    }
103
104
    /**
105
     * @param  bool $nounicode
@@ 108-114 (lines=7) @@
105
     * @param  bool $nounicode
106
     * @return self
107
     */
108
    public function nounicode($nounicode = true)
109
    {
110
        ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $nounicode);
111
        $this->data['nounicode'] = $nounicode;
112
113
        return $this;
114
    }
115
116
    /**
117
     * @param  bool $single
@@ 120-126 (lines=7) @@
117
     * @param  bool $single
118
     * @return self
119
     */
120
    public function single($single = true)
121
    {
122
        ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $single);
123
        $this->data['single'] = $single;
124
125
        return $this;
126
    }
127
}
128