aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/image.php2
-rw-r--r--lib/private/legacy/template/functions.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/image.php b/lib/private/legacy/image.php
index 120b19d1cff..cd5ca7bb5ce 100644
--- a/lib/private/legacy/image.php
+++ b/lib/private/legacy/image.php
@@ -431,7 +431,7 @@ class OC_Image implements \OCP\IImage {
* (I'm open for suggestions on better method name ;)
* Fixes orientation based on EXIF data.
*
- * @return bool.
+ * @return bool
*/
public function fixOrientation() {
$o = $this->getOrientation();
diff --git a/lib/private/legacy/template/functions.php b/lib/private/legacy/template/functions.php
index bca16b48c1a..1ef3541e880 100644
--- a/lib/private/legacy/template/functions.php
+++ b/lib/private/legacy/template/functions.php
@@ -278,7 +278,7 @@ function human_file_size( $bytes ) {
/**
* Strips the timestamp of its time value
* @param int $timestamp UNIX timestamp to strip
- * @return $timestamp without time value
+ * @return int timestamp without time value
*/
function strip_time($timestamp){
$date = new \DateTime("@{$timestamp}");