Merge "[TASK] Harmonize coding style of if constructs in sysext "linkvalidator""
authorChristopher <chrissitopher@gmx.de>
Thu, 7 Jun 2012 19:19:21 +0000 (21:19 +0200)
committerGerrit Code Review <gerrit@review.typo3.org>
Thu, 7 Jun 2012 19:19:21 +0000 (21:19 +0200)
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_external.php
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_internal.php
typo3/sysext/linkvalidator/classes/linktype/class.tx_linkvalidator_linktype_linkhandler.php

index bfeafc8..cee2ad0 100644 (file)
@@ -69,7 +69,7 @@ class tx_linkvalidator_linktype_External extends tx_linkvalidator_linktype_Abstr
 
                if (isset($this->urlReports[$url])) {
                        if (!$this->urlReports[$url]) {
-                               if(is_array($this->urlErrorParams[$url])) {
+                               if (is_array($this->urlErrorParams[$url])) {
                                        $this->setErrorParams($this->urlErrorParams[$url]);
                                }
                        }
index e004677..27fbaa7 100644 (file)
@@ -289,7 +289,7 @@ class tx_linkvalidator_linktype_Internal extends tx_linkvalidator_linktype_Abstr
                if (count($rootLine) > 0) {
                                $protocol = t3lib_div::getIndpEnv('TYPO3_SSL') ? 'https://' : 'http://';
                                $domainRecord = t3lib_BEfunc::firstDomainRecord($rootLine);
-                               if(!empty($domainRecord)) {
+                               if (!empty($domainRecord)) {
                                        $domain = $protocol . $domainRecord;
                                }
                }
index 313efc3..abaa92a 100644 (file)
@@ -83,7 +83,7 @@ class tx_linkvalidator_linktype_LinkHandler extends tx_linkvalidator_linktype_Ab
                        }
                }
 
-               if(!$response) {
+               if (!$response) {
                        $this->setErrorParams();
                }