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

@@ 125-139 (lines=15) @@
122
    /**
123
     * @inheritdoc
124
     */
125
    public function __set($name, $value)
126
    {
127
        if (is_array($value)) {
128
            $value = array_map('trim', $value);
129
        } elseif (is_string($value)) {
130
            $value = trim($value);
131
        }
132
133
        if (isset($this->attrStorage[$name])) {
134
            $this->attrStorage[$name] = $value;
135
            return true;
136
        }
137
138
        return parent::__set($name, $value);
139
    }
140
141
    /**
142
     * @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