Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/private/AppFramework/Utility/TimeFactory.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
Expand All @@ -22,7 +23,6 @@
*
*/


namespace OC\AppFramework\Utility;

use OCP\AppFramework\Utility\ITimeFactory;
Expand All @@ -37,7 +37,7 @@ class TimeFactory implements ITimeFactory {
/**
* @return int the result of a call to time()
*/
public function getTime() {
public function getTime() : int {
return time();
}

Expand Down
4 changes: 2 additions & 2 deletions lib/public/AppFramework/Utility/ITimeFactory.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
Expand All @@ -21,7 +22,6 @@
*
*/


namespace OCP\AppFramework\Utility;


Expand All @@ -35,6 +35,6 @@ interface ITimeFactory {
* @return int the result of a call to time()
* @since 8.0.0
*/
public function getTime();
public function getTime() : int;

}