summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-02-06 16:30:58 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-02-06 17:02:21 +0100
commit2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356 (patch)
tree66d682a22c3d12d1838822fc52cdd48fa765f5df /lib/public/appframework
parent0d94da7e9ef9550c8ae0244b203ca84e5ee007b0 (diff)
downloadnextcloud-server-2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356.tar.gz
nextcloud-server-2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356.zip
polish documentation based on scrutinizer patches
Diffstat (limited to 'lib/public/appframework')
-rw-r--r--lib/public/appframework/http/response.php2
-rw-r--r--lib/public/appframework/iapi.php4
-rw-r--r--lib/public/appframework/iappcontainer.php4
3 files changed, 7 insertions, 3 deletions
diff --git a/lib/public/appframework/http/response.php b/lib/public/appframework/http/response.php
index 0f5a18ca4fe..d223621d4fd 100644
--- a/lib/public/appframework/http/response.php
+++ b/lib/public/appframework/http/response.php
@@ -155,7 +155,7 @@ class Response {
/**
* Get "last modified" date
- * @return string RFC2822 formatted last modified date
+ * @return \DateTime RFC2822 formatted last modified date
*/
public function getLastModified() {
return $this->lastModified;
diff --git a/lib/public/appframework/iapi.php b/lib/public/appframework/iapi.php
index 963e870f79b..c4aeea2d4e5 100644
--- a/lib/public/appframework/iapi.php
+++ b/lib/public/appframework/iapi.php
@@ -45,6 +45,7 @@ interface IApi {
* Adds a new javascript file
* @param string $scriptName the name of the javascript in js/ without the suffix
* @param string $appName the name of the app, defaults to the current one
+ * @return void
*/
function addScript($scriptName, $appName = null);
@@ -53,6 +54,7 @@ interface IApi {
* Adds a new css file
* @param string $styleName the name of the css file in css/without the suffix
* @param string $appName the name of the app, defaults to the current one
+ * @return void
*/
function addStyle($styleName, $appName = null);
@@ -60,6 +62,7 @@ interface IApi {
/**
* shorthand for addScript for files in the 3rdparty directory
* @param string $name the name of the file without the suffix
+ * @return void
*/
function add3rdPartyScript($name);
@@ -67,6 +70,7 @@ interface IApi {
/**
* shorthand for addStyle for files in the 3rdparty directory
* @param string $name the name of the file without the suffix
+ * @return void
*/
function add3rdPartyStyle($name);
diff --git a/lib/public/appframework/iappcontainer.php b/lib/public/appframework/iappcontainer.php
index 7e6ec6016b7..e4f5f37cad2 100644
--- a/lib/public/appframework/iappcontainer.php
+++ b/lib/public/appframework/iappcontainer.php
@@ -66,8 +66,8 @@ interface IAppContainer extends IContainer{
function isAdminUser();
/**
- * @param $message
- * @param $level
+ * @param string $message
+ * @param string $level
* @return mixed
*/
function log($message, $level);