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

application/modules/shop/models/GoogleFeed.php 1 location

@@ 129-143 (lines=15) @@
126
    /**
127
     * @inheritdoc
128
     */
129
    public function __set($name, $value)
130
    {
131
        if (is_array($value)) {
132
            $value = array_map('trim', $value);
133
        } elseif (is_string($value)) {
134
            $value = trim($value);
135
        }
136
137
        if (isset($this->attrStorage[$name])) {
138
            $this->attrStorage[$name] = $value;
139
            return true;
140
        }
141
142
        return parent::__set($name, $value);
143
    }
144
145
    /**
146
     * @return array

application/modules/shop/models/Yml.php 1 location

@@ 155-169 (lines=15) @@
152
    /**
153
     * @inheritdoc
154
     */
155
    public function __set($name, $value)
156
    {
157
        if (is_array($value)) {
158
            $value = array_map('trim', $value);
159
        } elseif (is_string($value)) {
160
            $value = trim($value);
161
        }
162
163
        if (isset($this->attrStorage[$name])) {
164
            $this->attrStorage[$name] = $value;
165
            return true;
166
        }
167
168
        return parent::__set($name, $value);
169
    }
170
171
    /**
172
     * @return array