Code Duplication    Length = 1-3 lines in 2 locations

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

@@ 1033-1033 (lines=1) @@
1030
        } elseif (! is_string($this->m_content) || empty($this->m_content)) {
1031
            return false;
1032
        }
1033
        if (! is_int($this->m_type) || $this->m_type < self::TYPE_NOTIFICATION || $this->m_type > self::TYPE_MESSAGE) {
1034
            return false;
1035
        }
1036
        if (! is_int($this->m_multiPkg) || $this->m_multiPkg < 0 || $this->m_multiPkg > 1) {
@@ 1286-1288 (lines=3) @@
1283
                return false;
1284
            }
1285
        }
1286
        if (! is_int($this->m_type) || $this->m_type < self::TYPE_APNS_NOTIFICATION || $this->m_type > self::TYPE_REMOTE_NOTIFICATION) {
1287
            return false;
1288
        }
1289
1290
        foreach ($this->m_acceptTimes as $value) {
1291
            if (! ($value instanceof TimeInterval) || ! $value->isValid()) {