Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 978-981 (lines=4) @@
975
            $this->m_sendTime = "2013-12-19 17:49:00";
976
        }
977
978
        foreach ($this->m_acceptTimes as $value) {
979
            if (!($value instanceof TimeInterval) || !$value->isValid())
980
                return false;
981
        }
982
983
        if (isset($this->m_custom)) {
984
            if (!is_array($this->m_custom))
@@ 1189-1192 (lines=4) @@
1186
            return false;
1187
        }
1188
1189
        foreach ($this->m_acceptTimes as $value) {
1190
            if (!($value instanceof TimeInterval) || !$value->isValid())
1191
                return false;
1192
        }
1193
1194
        if (isset($this->m_custom)) {
1195
            if (!is_array($this->m_custom))