Code Duplication    Length = 6-6 lines in 2 locations

app/Support/Tencent/XgPush/XingeApp.php 2 locations

@@ 1069-1074 (lines=6) @@
1066
            }
1067
        }
1068
1069
        if (isset($this->m_custom)) {
1070
            if (! is_array($this->m_custom)) {
1071
                return false;
1072
            }
1073
        } else {
1074
            $this->m_custom = [];
1075
        }
1076
1077
        if (isset($this->m_loopInterval)) {
@@ 1296-1301 (lines=6) @@
1293
            }
1294
        }
1295
1296
        if (isset($this->m_custom)) {
1297
            if (! is_array($this->m_custom)) {
1298
                return false;
1299
            }
1300
        } else {
1301
            $this->m_custom = [];
1302
        }
1303
        if ($this->m_type == self::TYPE_APNS_NOTIFICATION) {
1304
            if (! isset($this->m_alert)) {