summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-03 20:02:27 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-03 20:02:27 +0200
commit20f26068e769258ecbcce3646bab69a851d6c7c4 (patch)
treed6943fb83adbcd76bb636b679aece358e7c16b79 /tests
parente2969062ca172b46713653ac243bb849a54ca7d7 (diff)
parent6b061c236dd5730837b567f2c39a19af1617d33c (diff)
downloadnextcloud-server-20f26068e769258ecbcce3646bab69a851d6c7c4.tar.gz
nextcloud-server-20f26068e769258ecbcce3646bab69a851d6c7c4.zip
Merge pull request #7476 from owncloud/type-hinting
Type hinting
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/appframework/routing/RoutingTest.php6
-rw-r--r--tests/lib/dbschema.php3
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/lib/appframework/routing/RoutingTest.php b/tests/lib/appframework/routing/RoutingTest.php
index 9f2675bf0b4..735dd7cef41 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' )) {