summaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/icewind/smb/src/Change.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/icewind/smb/src/Change.php')
-rw-r--r--apps/files_external/3rdparty/icewind/smb/src/Change.php21
1 files changed, 5 insertions, 16 deletions
diff --git a/apps/files_external/3rdparty/icewind/smb/src/Change.php b/apps/files_external/3rdparty/icewind/smb/src/Change.php
index 9dfd57b3973..4d6ab49d2bb 100644
--- a/apps/files_external/3rdparty/icewind/smb/src/Change.php
+++ b/apps/files_external/3rdparty/icewind/smb/src/Change.php
@@ -9,32 +9,21 @@
namespace Icewind\SMB;
class Change {
+ /** @var int */
private $code;
-
+ /** @var string */
private $path;
- /**
- * Change constructor.
- *
- * @param $code
- * @param $path
- */
- public function __construct($code, $path) {
+ public function __construct(int $code, string $path) {
$this->code = $code;
$this->path = $path;
}
- /**
- * @return integer
- */
- public function getCode() {
+ public function getCode(): int {
return $this->code;
}
- /**
- * @return string
- */
- public function getPath() {
+ public function getPath(): string {
return $this->path;
}
}