Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 983-988 (lines=6) @@
980
                return false;
981
        }
982
983
        if (isset($this->m_custom)) {
984
            if (!is_array($this->m_custom))
985
                return false;
986
        } else {
987
            $this->m_custom = array();
988
        }
989
990
        if (isset($this->m_loopInterval)) {
991
            if (!(is_int($this->m_loopInterval) && $this->m_loopInterval > 0)) {
@@ 1194-1199 (lines=6) @@
1191
                return false;
1192
        }
1193
1194
        if (isset($this->m_custom)) {
1195
            if (!is_array($this->m_custom))
1196
                return false;
1197
        } else {
1198
            $this->m_custom = array();
1199
        }
1200
        if ($this->m_type == self::TYPE_APNS_NOTIFICATION) {
1201
            if (!isset($this->m_alert)) return false;
1202
            if (!is_string($this->m_alert) && !is_array($this->m_alert))