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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 17:51:06 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 17:51:06 +0300
commit1584c9ae9c23d2a7915750ef9203cba0bcebf766 (patch)
tree568db931f631afd6e96772cf2b3ac539c989ec42 /tests/lib/APITest.php
parenta7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (diff)
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/APITest.php')
-rw-r--r--tests/lib/APITest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/APITest.php b/tests/lib/APITest.php
index ebb03425375..7027d64eceb 100644
--- a/tests/lib/APITest.php
+++ b/tests/lib/APITest.php
@@ -17,7 +17,7 @@ class APITest extends \Test\TestCase {
/**
* @param string $message
*/
- function buildResponse($shipped, $data, $code, $message=null) {
+ public function buildResponse($shipped, $data, $code, $message=null) {
$resp = new \OC\OCS\Result($data, $code, $message);
$resp->addHeader('KEY', 'VALUE');
return [
@@ -32,7 +32,7 @@ class APITest extends \Test\TestCase {
/**
* @param \OC\OCS\Result $result
*/
- function checkResult($result, $success) {
+ public function checkResult($result, $success) {
// Check response is of correct type
$this->assertInstanceOf(\OC\OCS\Result::class, $result);
// Check if it succeeded