Fix return type

This commit is contained in:
Dennis Eichhorn 2017-10-26 19:59:21 +02:00
parent 0d6c0b2fc8
commit b41fdb7deb
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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;
}