diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-03 20:02:27 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-03 20:02:27 +0200 |
commit | 20f26068e769258ecbcce3646bab69a851d6c7c4 (patch) | |
tree | d6943fb83adbcd76bb636b679aece358e7c16b79 /tests | |
parent | e2969062ca172b46713653ac243bb849a54ca7d7 (diff) | |
parent | 6b061c236dd5730837b567f2c39a19af1617d33c (diff) | |
download | nextcloud-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.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 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' )) { |