Code Duplication    Length = 9-9 lines in 2 locations

src/Response/Response.php 2 locations

@@ 960-968 (lines=9) @@
957
     *
958
     * @return \Jaxon\Plugin\Response
959
     */
960
    public function includeCSS($sFileName, $sMedia = null)
961
    {
962
        $command = array('cmd' => 'css');
963
964
        if(($sMedia))
965
            $command['media'] = trim((string)$sMedia, " \t");
966
967
        return $this->addCommand($command, trim((string)$sFileName, " \t"));
968
    }
969
970
    /**
971
     * Add a command to remove a LINK reference to a CSS file on the browser
@@ 979-987 (lines=9) @@
976
     *
977
     * @return \Jaxon\Plugin\Response
978
     */
979
    public function removeCSS($sFileName, $sMedia = null)
980
    {
981
        $command = array('cmd' => 'rcss');
982
983
        if(($sMedia))
984
            $command['media'] = trim((string)$sMedia, " \t");
985
986
        return $this->addCommand($command, trim((string)$sFileName, " \t"));
987
    }
988
989
    /**
990
     * Add a command to make Jaxon pause while the CSS files are loaded