Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/MockPiwikOption.php')
-rw-r--r--tests/PHPUnit/MockPiwikOption.php25
1 files changed, 13 insertions, 12 deletions
diff --git a/tests/PHPUnit/MockPiwikOption.php b/tests/PHPUnit/MockPiwikOption.php
index 5ead64c3ae..455638032c 100644
--- a/tests/PHPUnit/MockPiwikOption.php
+++ b/tests/PHPUnit/MockPiwikOption.php
@@ -7,19 +7,20 @@
*/
class MockPiwikOption extends Piwik_Option
{
- private $forcedOptionValue = false;
+ private $forcedOptionValue = false;
- function __construct($forcedOptionValue) {
- $this->forcedOptionValue = $forcedOptionValue;
- }
+ function __construct($forcedOptionValue)
+ {
+ $this->forcedOptionValue = $forcedOptionValue;
+ }
- public function get($name)
- {
- return $this->forcedOptionValue;
- }
+ public function get($name)
+ {
+ return $this->forcedOptionValue;
+ }
- public function set($name, $value, $autoload = 0)
- {
- $this->forcedOptionValue = $value;
- }
+ public function set($name, $value, $autoload = 0)
+ {
+ $this->forcedOptionValue = $value;
+ }
}