mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Fix return type
This commit is contained in:
parent
0d6c0b2fc8
commit
b41fdb7deb
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user