summaryrefslogtreecommitdiffstats
path: root/tests/mocks
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-12-27 18:49:03 +0100
committerAndrey Andreev <narf@devilix.net>2017-12-27 18:50:15 +0100
commitfbe4d79ca0a70f404dce628d66deeaa3d90a2225 (patch)
tree4626010d3821b8c0c3e10676ea88dfda953ad47e /tests/mocks
parent20d9b0a9c03955da0010a3df91adcd9b8e6e7d58 (diff)
Merge pull request #5367 from carusogabriel/clean-elses
Clean elses
Diffstat (limited to 'tests/mocks')
-rw-r--r--tests/mocks/ci_testcase.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/mocks/ci_testcase.php b/tests/mocks/ci_testcase.php
index a2c37b92e..e5c86322c 100644
--- a/tests/mocks/ci_testcase.php
+++ b/tests/mocks/ci_testcase.php
@@ -377,10 +377,8 @@ class CI_TestCase extends PHPUnit_Framework_TestCase {
{
return call_user_func_array($this->{$method},$args);
}
- else
- {
- return parent::__call($method, $args);
- }
+
+ return parent::__call($method, $args);
}
}