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

application/models/PropertyStaticValues.php 2 locations

@@ 248-251 (lines=4) @@
245
                foreach ($properties as $propertyId => $propertyStaticValues) {
246
                    $subQuery = self::initSubQuery($category_id, $joinCondition);
247
                    $subQuery->andWhere(['property_static_value_id' => $propertyStaticValues,]);
248
                    $subQueryOptimisation = Yii::$app->db->cache(function($db) use ($subQuery) {
249
                        $ids = implode(', ', $subQuery->createCommand($db)->queryColumn());
250
                        return empty($ids) === true ? '(-1)' : "($ids)";
251
                    }, 86400, new TagDependency([
252
                        'tags' => [
253
                            ActiveRecordHelper::getCommonTag(ObjectStaticValues::className()),
254
                        ]
@@ 264-267 (lines=4) @@
261
                $subQuery
262
                    ->andWhere(['>=', 'p.price', $priceMin])
263
                    ->andWhere(['<=', 'p.price', $priceMax]);
264
                $subQueryOptimisation = Yii::$app->db->cache(function($db) use ($subQuery) {
265
                    $ids = implode(', ', $subQuery->createCommand($db)->queryColumn());
266
                    return empty($ids) === true ? '(-1)' : "($ids)";
267
                }, 86400, new TagDependency([
268
                    'tags' => [
269
                        ActiveRecordHelper::getCommonTag(ObjectStaticValues::className()),
270
                    ]