Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[TASK] Code Style Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
helhum committed Sep 13, 2016
1 parent c2c8acf commit 40e3ee7
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Classes/Hooks/UrlRewritingHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -1157,16 +1157,21 @@ protected function decodeSpURL_doDecode($speakingURIpath, $cHashCache = FALSE) {

// Merge Get vars together
$cachedInfo['GET_VARS'] = array();
if (is_array($pre_GET_VARS))
if (is_array($pre_GET_VARS)) {
ArrayUtility::mergeRecursiveWithOverrule($cachedInfo['GET_VARS'], $pre_GET_VARS);
if (is_array($id_GET_VARS))
}
if (is_array($id_GET_VARS)) {
ArrayUtility::mergeRecursiveWithOverrule($cachedInfo['GET_VARS'], $id_GET_VARS);
if (is_array($fixedPost_GET_VARS))
}
if (is_array($fixedPost_GET_VARS)) {
ArrayUtility::mergeRecursiveWithOverrule($cachedInfo['GET_VARS'], $fixedPost_GET_VARS);
if (is_array($post_GET_VARS))
}
if (is_array($post_GET_VARS)) {
ArrayUtility::mergeRecursiveWithOverrule($cachedInfo['GET_VARS'], $post_GET_VARS);
if (is_array($file_GET_VARS))
}
if (is_array($file_GET_VARS)) {
ArrayUtility::mergeRecursiveWithOverrule($cachedInfo['GET_VARS'], $file_GET_VARS);
}

// cHash handling
if ($cHashCache) {
Expand Down Expand Up @@ -1220,7 +1225,7 @@ protected function decodeSpURL_createQueryStringParam($paramArr, $prependString
* @return string QUERY_STRING value
*/
protected function decodeSpURL_createQueryString(&$getVars) {
if (!is_array($getVars) || count($getVars) == 0) {
if (!is_array($getVars) || count($getVars) === 0) {
return $_SERVER['QUERY_STRING'];
}

Expand Down

0 comments on commit 40e3ee7

Please sign in to comment.