Completed
Pull Request — devel (#1345)
by
unknown
02:40
created
community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Abstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
         $tpl = <<<EOS
791 791
 set req.http.X-Normalized-User-Agent = "other";
792 792
 EOS;
793
-        if(!empty($mobileRegexp)){
793
+        if ( ! empty($mobileRegexp)) {
794 794
             $tplContent = '
795 795
             if (req.http.User-Agent ~ "'.$mobileRegexp.'") {
796 796
         set req.http.X-Normalized-User-Agent = "mobile";
@@ -1006,7 +1006,7 @@  discard block
 block discarded – undo
1006 1006
     }
1007 1007
 }
1008 1008
 EOS;
1009
-        } else{
1009
+        } else {
1010 1010
             $tpl_750 = '
1011 1011
 sub vcl_synth {
1012 1012
     if (resp.status == 750) {
Please login to merge, or discard this patch.