summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-07-16 11:40:32 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-07-17 12:34:56 +0200
commit8a64abf4e45a5050ae27140ada4dd66eea4ae502 (patch)
treee20c3ff2cff5ca573f6ba2af8eb57c2fd3176cb1 /tests
parent0de5c35dbad2cd2023cff08c0b142aedb16c4ea9 (diff)
downloadnextcloud-server-8a64abf4e45a5050ae27140ada4dd66eea4ae502.tar.gz
nextcloud-server-8a64abf4e45a5050ae27140ada4dd66eea4ae502.zip
Only decorate the type when it was matched
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/app/codechecker/mock/testlist.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/app/codechecker/mock/testlist.php b/tests/lib/app/codechecker/mock/testlist.php
index 5f5a9fcc38e..1fe83293acf 100644
--- a/tests/lib/app/codechecker/mock/testlist.php
+++ b/tests/lib/app/codechecker/mock/testlist.php
@@ -35,9 +35,11 @@ class TestList implements ICheck {
}
/**
+ * @param int $errorCode
+ * @param string $errorObject
* @return string
*/
- public function getDescription() {
+ public function getDescription($errorCode, $errorObject) {
return 'testing';
}