From b41fdb7deb5c677266290d36b17104c25f4eacaf Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 26 Oct 2017 19:59:21 +0200 Subject: [PATCH] Fix return type --- System/File/ContainerInterface.php | 4 ++-- System/File/Local/FileAbstract.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/System/File/ContainerInterface.php b/System/File/ContainerInterface.php index 403f4e1c0..5a0af0006 100644 --- a/System/File/ContainerInterface.php +++ b/System/File/ContainerInterface.php @@ -315,11 +315,11 @@ interface ContainerInterface /** * Get the permissions id of the resource. * - * @return string Permissions (e.g. 0644); + * @return int Permissions (e.g. 0644); * * @since 1.0.0 */ - public function getPermission() : string; + public function getPermission() : int; /** * (Re-)Initialize resource diff --git a/System/File/Local/FileAbstract.php b/System/File/Local/FileAbstract.php index 46a81b8ab..adbba652b 100644 --- a/System/File/Local/FileAbstract.php +++ b/System/File/Local/FileAbstract.php @@ -88,7 +88,7 @@ abstract class FileAbstract implements ContainerInterface /** * Permission. * - * @var string + * @var int * @since 1.0.0 */ protected $permission = 0644; @@ -176,7 +176,7 @@ abstract class FileAbstract implements ContainerInterface /** * {@inheritdoc} */ - public function getPermission() : string + public function getPermission() : int { return $this->permission; }