summaryrefslogtreecommitdiffstats
path: root/lib/private/ocsclient.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-06-29 15:10:40 +0200
committerLukas Reschke <lukas@owncloud.com>2015-06-29 15:10:40 +0200
commitab4d5d20ea30f109bf35227fb2a611816afbf303 (patch)
tree14df64a39cd976e1afd9f5b5a0fe5a144ed54b24 /lib/private/ocsclient.php
parent1db047a33604ba7df915b8776076db69e3166120 (diff)
downloadnextcloud-server-ab4d5d20ea30f109bf35227fb2a611816afbf303.tar.gz
nextcloud-server-ab4d5d20ea30f109bf35227fb2a611816afbf303.zip
Typehint $targetVersion
Diffstat (limited to 'lib/private/ocsclient.php')
-rw-r--r--lib/private/ocsclient.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php
index 9fd3bb13733..18ba4cea003 100644
--- a/lib/private/ocsclient.php
+++ b/lib/private/ocsclient.php
@@ -111,7 +111,7 @@ class OCSClient {
* @note returns NULL if config value appstoreenabled is set to false
* This function returns a list of all the application categories on the OCS server
*/
- public function getCategories($targetVersion) {
+ public function getCategories(array $targetVersion) {
if (!$this->isAppStoreEnabled()) {
return null;
}
@@ -162,7 +162,7 @@ class OCSClient {
* @param array $targetVersion The target ownCloud version
* @return array An array of application data
*/
- public function getApplications(array $categories, $page, $filter, $targetVersion) {
+ public function getApplications(array $categories, $page, $filter, array $targetVersion) {
if (!$this->isAppStoreEnabled()) {
return [];
}
@@ -239,7 +239,7 @@ class OCSClient {
*
* This function returns an applications from the OCS server
*/
- public function getApplication($id, $targetVersion) {
+ public function getApplication($id, array $targetVersion) {
if (!$this->isAppStoreEnabled()) {
return null;
}
@@ -304,7 +304,7 @@ class OCSClient {
* @param array $targetVersion The target ownCloud version
* @return array|null an array of application data or null
*/
- public function getApplicationDownload($id, $targetVersion) {
+ public function getApplicationDownload($id, array $targetVersion) {
if (!$this->isAppStoreEnabled()) {
return null;
}