[Pkg-owncloud-commits] [owncloud] 176/205: Typehint $targetVersion
David Prévot
taffit at moszumanska.debian.org
Thu Jul 2 17:37:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit ab4d5d20ea30f109bf35227fb2a611816afbf303
Author: Lukas Reschke <lukas at owncloud.com>
Date: Mon Jun 29 15:10:40 2015 +0200
Typehint $targetVersion
---
lib/private/ocsclient.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php
index 9fd3bb1..18ba4ce 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;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list