@@ -24,7 +24,7 @@ |
||
24 | 24 | public function setTemplate($template) |
25 | 25 | { |
26 | 26 | if ((Mage::getConfig()->getModuleConfig('Mage_Poll')->is('active', 'true')) && |
27 | - (!Mage::getStoreConfig('advanced/modules_disable_output/Mage_Poll'))) |
|
27 | + ( ! Mage::getStoreConfig('advanced/modules_disable_output/Mage_Poll'))) |
|
28 | 28 | { |
29 | 29 | $this->_template = $template; |
30 | 30 | $this->setPollTemplate('turpentine/ajax.phtml', 'poll'); |
@@ -29,8 +29,7 @@ |
||
29 | 29 | $this->_template = $template; |
30 | 30 | $this->setPollTemplate('turpentine/ajax.phtml', 'poll'); |
31 | 31 | $this->setPollTemplate('turpentine/ajax.phtml', 'results'); |
32 | - } |
|
33 | - else |
|
32 | + } else |
|
34 | 33 | { |
35 | 34 | // Mage_Poll is disabled, so do nothing |
36 | 35 | } |
@@ -991,7 +991,7 @@ |
||
991 | 991 | } |
992 | 992 | } |
993 | 993 | EOS; |
994 | - } else{ |
|
994 | + } else { |
|
995 | 995 | $tpl_750 = ' |
996 | 996 | sub vcl_synth { |
997 | 997 | if (resp.status == 750) { |
@@ -698,7 +698,7 @@ |
||
698 | 698 | * |
699 | 699 | * @param string $host backend host |
700 | 700 | * @param string $port backend port |
701 | - * @param string $descriptor backend descriptor |
|
701 | + * @param string $descriptor backend descriptor |
|
702 | 702 | * @param string $probeUrl URL to check if backend is up |
703 | 703 | * @param array $options extra options for backend |
704 | 704 | * @return string |
@@ -104,7 +104,7 @@ |
||
104 | 104 | $result[$socketName] = 'Failed to load configurator'; |
105 | 105 | } else { |
106 | 106 | $vcl = $cfgr->generate($helper->shouldStripVclWhitespace('apply')); |
107 | - $vclName = 'vcl_' . Mage::helper('turpentine/data') |
|
107 | + $vclName = 'vcl_'.Mage::helper('turpentine/data') |
|
108 | 108 | ->secureHash(microtime()); |
109 | 109 | try { |
110 | 110 | $this->_testEsiSyntaxParam($socket); |