diff options
author | Bart Visscher <bartv@thisnet.nl> | 2014-02-28 13:53:41 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2014-02-28 13:53:41 +0100 |
commit | 35a8dfb2fa7970098e6677f7b93b7d782d5df7f0 (patch) | |
tree | 8ede91547e256ece30635c7ab04d9bb08f63e671 /tests | |
parent | 89e0763d3d511d2da878db43c89300c51850b0f3 (diff) | |
download | nextcloud-server-35a8dfb2fa7970098e6677f7b93b7d782d5df7f0.tar.gz nextcloud-server-35a8dfb2fa7970098e6677f7b93b7d782d5df7f0.zip |
More PHPDoc fixes, using scrutinizer patches as hints
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/appframework/routing/RoutingTest.php | 6 | ||||
-rw-r--r-- | tests/lib/dbschema.php | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/lib/appframework/routing/RoutingTest.php b/tests/lib/appframework/routing/RoutingTest.php index d0244cf2511..56e625fd168 100644 --- a/tests/lib/appframework/routing/RoutingTest.php +++ b/tests/lib/appframework/routing/RoutingTest.php @@ -166,9 +166,9 @@ class RouteConfigTest extends \PHPUnit_Framework_TestCase } /** - * @param $verb - * @param $controllerName - * @param $actionName + * @param string $verb + * @param string $controllerName + * @param string $actionName * @return \PHPUnit_Framework_MockObject_MockObject */ private function mockRoute($verb, $controllerName, $actionName) diff --git a/tests/lib/dbschema.php b/tests/lib/dbschema.php index 11e9fcdf4fa..cfa2d6fd9aa 100644 --- a/tests/lib/dbschema.php +++ b/tests/lib/dbschema.php @@ -71,6 +71,9 @@ class Test_DBSchema extends PHPUnit_Framework_TestCase { $this->assertTableNotExist($this->table2); } + /** + * @param string $table + */ public function tableExist($table) { switch (OC_Config::getValue( 'dbtype', 'sqlite' )) { |