Code Duplication    Length = 9-9 lines in 2 locations

includes/browser.php 2 locations

@@ 904-912 (lines=9) @@
901
         * Determine if the browser is Shiretoko or not (https://wiki.mozilla.org/Projects/shiretoko) (last updated 1.7)
902
         * @return boolean True if the browser is Shiretoko otherwise false
903
         */
904
        protected function checkBrowserShiretoko()
905
        {
906
            if (stripos($this->_agent, 'Mozilla') !== false && preg_match('/Shiretoko\/([^ ]*)/i', $this->_agent, $matches)) {
907
                $this->setVersion($matches[1]);
908
                $this->setBrowser(self::BROWSER_SHIRETOKO);
909
                return true;
910
            }
911
            return false;
912
        }
913
914
        /**
915
         * Determine if the browser is Ice Cat or not (http://en.wikipedia.org/wiki/GNU_IceCat) (last updated 1.7)
@@ 918-926 (lines=9) @@
915
         * Determine if the browser is Ice Cat or not (http://en.wikipedia.org/wiki/GNU_IceCat) (last updated 1.7)
916
         * @return boolean True if the browser is Ice Cat otherwise false
917
         */
918
        protected function checkBrowserIceCat()
919
        {
920
            if (stripos($this->_agent, 'Mozilla') !== false && preg_match('/IceCat\/([^ ]*)/i', $this->_agent, $matches)) {
921
                $this->setVersion($matches[1]);
922
                $this->setBrowser(self::BROWSER_ICECAT);
923
                return true;
924
            }
925
            return false;
926
        }
927
928
        /**
929
         * Determine if the browser is Nokia or not (last updated 1.7)