summaryrefslogtreecommitdiff
path: root/server/core/App.php
diff options
context:
space:
mode:
Diffstat (limited to 'server/core/App.php')
-rwxr-xr-xserver/core/App.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/server/core/App.php b/server/core/App.php
index 3a027d7..fb49b95 100755
--- a/server/core/App.php
+++ b/server/core/App.php
@@ -9,7 +9,9 @@
*
*/
-//Library token management override
+/*
+* Library token management override
+*/
include_once("core/LibOverride/genTokenOptions.php");
include_once("core/ErrorManagement.php");
@@ -28,7 +30,7 @@ use OpenCloud\Common\Error\UserInputError;
*/
class App{
- /** @var Openstack $openstack protected, contains the main library object */
+ /** @var OpenStack\OpenStack $openstack protected, contains the main library object */
protected $openstack;
/** @var Array $postParams protected, contains the post parameters */
protected $postParams;
@@ -124,7 +126,7 @@ class App{
/**
* Generate the token for the different services in OpenStack
*
- * @return NULL
+ * @return void
*/
public function authenticate(){
@@ -150,7 +152,7 @@ class App{
/**
* Revoke the openstack services' token
*
- * @return NULL
+ * @return void
*/
public function deauthenticate(){
@@ -197,7 +199,7 @@ class App{
* @param String $param Name for the Post entry
* @param Object $value Value for the Post entry
*
- * @return NULL
+ * @return void
*/
public function setPostParam($param, $value){
@@ -211,7 +213,7 @@ class App{
* @param String $key Array key for the message
* @param Array $out Message's value
*
- * @return NULL
+ * @return void
*/
public function setOutput($key, $out){
@@ -233,7 +235,7 @@ class App{
/**
* Output the messages to be send to the client
*
- * @return NULl
+ * @return void
*/
public function show(){
echo json_encode($this->output);