aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/request.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-07-16 14:59:52 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-07-16 14:59:52 +0200
commit76aa24e6b7d4c17f2494782b11a6d13b22905f38 (patch)
treebf2239a552b87ede1dcf05dbf7857cb55d8e32b4 /tests/mock/request.php
parent0bf6966c5228d446c4f0d3862619db0f619c7369 (diff)
downloadforums-76aa24e6b7d4c17f2494782b11a6d13b22905f38.tar
forums-76aa24e6b7d4c17f2494782b11a6d13b22905f38.tar.gz
forums-76aa24e6b7d4c17f2494782b11a6d13b22905f38.tar.bz2
forums-76aa24e6b7d4c17f2494782b11a6d13b22905f38.tar.xz
forums-76aa24e6b7d4c17f2494782b11a6d13b22905f38.zip
[feature/request-class] Minor spacing CS adjustments
PHPBB3-9716
Diffstat (limited to 'tests/mock/request.php')
-rw-r--r--tests/mock/request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mock/request.php b/tests/mock/request.php
index 63f3f820ba..86b8695e32 100644
--- a/tests/mock/request.php
+++ b/tests/mock/request.php
@@ -38,7 +38,7 @@ class phpbb_mock_request implements phpbb_request_interface
public function header($header_name, $default = '', $html_encode = false)
{
- $var_name = 'HTTP_'.str_replace('-', '_', strtoupper($header_name));
+ $var_name = 'HTTP_' . str_replace('-', '_', strtoupper($header_name));
return $this->server($var_name, $default, $html_encode);
}
@@ -66,7 +66,7 @@ class phpbb_mock_request implements phpbb_request_interface
public function set_header($header_name, $value)
{
- $var_name = 'HTTP_'.str_replace('-', '_', strtoupper($header_name));
+ $var_name = 'HTTP_' . str_replace('-', '_', strtoupper($header_name));
$this->data[phpbb_request_interface::SERVER][$var_name] = $value;
}