summaryrefslogtreecommitdiffstats
path: root/lib/ocs/result.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-01-14 20:30:39 +0100
committerBart Visscher <bartv@thisnet.nl>2013-01-16 18:09:16 +0100
commit5bfe4adbaa9c402db5bd0d0f74fd9ad7bb037129 (patch)
treec0a4b2c32975ec45c5d7ec371f1a4dfcb7caab0b /lib/ocs/result.php
parenta8f963d9cf5b243cae497450af78c20cbc367b4b (diff)
downloadnextcloud-server-5bfe4adbaa9c402db5bd0d0f74fd9ad7bb037129.tar.gz
nextcloud-server-5bfe4adbaa9c402db5bd0d0f74fd9ad7bb037129.zip
Whitespace cleanup
Diffstat (limited to 'lib/ocs/result.php')
-rw-r--r--lib/ocs/result.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/ocs/result.php b/lib/ocs/result.php
index b08d911f785..65b2067fc3f 100644
--- a/lib/ocs/result.php
+++ b/lib/ocs/result.php
@@ -21,9 +21,9 @@
*/
class OC_OCS_Result{
-
+
private $data, $message, $statusCode, $items, $perPage;
-
+
/**
* create the OCS_Result object
* @param $data mixed the data to return
@@ -33,7 +33,7 @@ class OC_OCS_Result{
$this->statusCode = $code;
$this->message = $message;
}
-
+
/**
* optionally set the total number of items available
* @param $items int
@@ -41,7 +41,7 @@ class OC_OCS_Result{
public function setTotalItems(int $items) {
$this->items = $items;
}
-
+
/**
* optionally set the the number of items per page
* @param $items int
@@ -49,7 +49,7 @@ class OC_OCS_Result{
public function setItemsPerPage(int $items) {
$this->perPage = $items;
}
-
+
/**
* returns the data associated with the api result
* @return array
@@ -70,6 +70,6 @@ class OC_OCS_Result{
// Return the result data.
return $return;
}
-
-
+
+
} \ No newline at end of file