@@ -35,61 +35,61 @@ |
||
35 | 35 | * @since 22.0.0 |
36 | 36 | */ |
37 | 37 | class AbstractCacheEvent extends Event implements ICacheEvent { |
38 | - protected $storage; |
|
39 | - protected $path; |
|
40 | - protected $fileId; |
|
41 | - protected $storageId; |
|
38 | + protected $storage; |
|
39 | + protected $path; |
|
40 | + protected $fileId; |
|
41 | + protected $storageId; |
|
42 | 42 | |
43 | - /** |
|
44 | - * @param IStorage $storage |
|
45 | - * @param string $path |
|
46 | - * @param int $fileId |
|
47 | - * @since 22.0.0 |
|
48 | - */ |
|
49 | - public function __construct(IStorage $storage, string $path, int $fileId, int $storageId) { |
|
50 | - $this->storage = $storage; |
|
51 | - $this->path = $path; |
|
52 | - $this->fileId = $fileId; |
|
53 | - $this->storageId = $storageId; |
|
54 | - } |
|
43 | + /** |
|
44 | + * @param IStorage $storage |
|
45 | + * @param string $path |
|
46 | + * @param int $fileId |
|
47 | + * @since 22.0.0 |
|
48 | + */ |
|
49 | + public function __construct(IStorage $storage, string $path, int $fileId, int $storageId) { |
|
50 | + $this->storage = $storage; |
|
51 | + $this->path = $path; |
|
52 | + $this->fileId = $fileId; |
|
53 | + $this->storageId = $storageId; |
|
54 | + } |
|
55 | 55 | |
56 | - /** |
|
57 | - * @return IStorage |
|
58 | - * @since 22.0.0 |
|
59 | - */ |
|
60 | - public function getStorage(): IStorage { |
|
61 | - return $this->storage; |
|
62 | - } |
|
56 | + /** |
|
57 | + * @return IStorage |
|
58 | + * @since 22.0.0 |
|
59 | + */ |
|
60 | + public function getStorage(): IStorage { |
|
61 | + return $this->storage; |
|
62 | + } |
|
63 | 63 | |
64 | - /** |
|
65 | - * @return string |
|
66 | - * @since 22.0.0 |
|
67 | - */ |
|
68 | - public function getPath(): string { |
|
69 | - return $this->path; |
|
70 | - } |
|
64 | + /** |
|
65 | + * @return string |
|
66 | + * @since 22.0.0 |
|
67 | + */ |
|
68 | + public function getPath(): string { |
|
69 | + return $this->path; |
|
70 | + } |
|
71 | 71 | |
72 | - /** |
|
73 | - * @param string $path |
|
74 | - * @since 22.0.0 |
|
75 | - */ |
|
76 | - public function setPath(string $path): void { |
|
77 | - $this->path = $path; |
|
78 | - } |
|
72 | + /** |
|
73 | + * @param string $path |
|
74 | + * @since 22.0.0 |
|
75 | + */ |
|
76 | + public function setPath(string $path): void { |
|
77 | + $this->path = $path; |
|
78 | + } |
|
79 | 79 | |
80 | - /** |
|
81 | - * @return int |
|
82 | - * @since 22.0.0 |
|
83 | - */ |
|
84 | - public function getFileId(): int { |
|
85 | - return $this->fileId; |
|
86 | - } |
|
80 | + /** |
|
81 | + * @return int |
|
82 | + * @since 22.0.0 |
|
83 | + */ |
|
84 | + public function getFileId(): int { |
|
85 | + return $this->fileId; |
|
86 | + } |
|
87 | 87 | |
88 | - /** |
|
89 | - * @return int |
|
90 | - * @since 22.0.0 |
|
91 | - */ |
|
92 | - public function getStorageId(): int { |
|
93 | - return $this->storageId; |
|
94 | - } |
|
88 | + /** |
|
89 | + * @return int |
|
90 | + * @since 22.0.0 |
|
91 | + */ |
|
92 | + public function getStorageId(): int { |
|
93 | + return $this->storageId; |
|
94 | + } |
|
95 | 95 | } |