Fix Required parameter $internalPath follows optional parameter
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
1f0fddbc69
commit
12a78fb7b6
|
@ -31,7 +31,7 @@ class CachedMountFileInfo extends CachedMountInfo implements ICachedMountFileInf
|
|||
/** @var string */
|
||||
private $internalPath;
|
||||
|
||||
public function __construct(IUser $user, $storageId, $rootId, $mountPoint, $mountId = null, $rootInternalPath = '', $internalPath) {
|
||||
public function __construct(IUser $user, int $storageId, int $rootId, string $mountPoint, ?int $mountId, string $rootInternalPath, string $internalPath) {
|
||||
parent::__construct($user, $storageId, $rootId, $mountPoint, $mountId, $rootInternalPath);
|
||||
$this->internalPath = $internalPath;
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ class CachedMountInfo implements ICachedMountInfo {
|
|||
* @param int|null $mountId
|
||||
* @param string $rootInternalPath
|
||||
*/
|
||||
public function __construct(IUser $user, $storageId, $rootId, $mountPoint, $mountId = null, $rootInternalPath = '') {
|
||||
public function __construct(IUser $user, int $storageId, int $rootId, string $mountPoint, ?int $mountId, string $rootInternalPath) {
|
||||
$this->user = $user;
|
||||
$this->storageId = $storageId;
|
||||
$this->rootId = $rootId;
|
||||
|
|
Loading…
Reference in New Issue