Code Duplication    Length = 9-9 lines in 2 locations

src/Response/Response.php 2 locations

@@ 939-947 (lines=9) @@
936
     *
937
     * @return \Jaxon\Plugin\Response
938
     */
939
    public function includeCSS($sFileName, $sMedia = null)
940
    {
941
        $command = ['cmd' => 'css'];
942
943
        if(($sMedia))
944
            $command['media'] = trim((string)$sMedia, " \t");
945
946
        return $this->addCommand($command, trim((string)$sFileName, " \t"));
947
    }
948
949
    /**
950
     * Add a command to remove a LINK reference to a CSS file on the browser
@@ 958-966 (lines=9) @@
955
     *
956
     * @return \Jaxon\Plugin\Response
957
     */
958
    public function removeCSS($sFileName, $sMedia = null)
959
    {
960
        $command = ['cmd' => 'rcss'];
961
962
        if(($sMedia))
963
            $command['media'] = trim((string)$sMedia, " \t");
964
965
        return $this->addCommand($command, trim((string)$sFileName, " \t"));
966
    }
967
968
    /**
969
     * Add a command to make Jaxon pause while the CSS files are loaded