@@ -384,6 +384,9 @@ |
||
384 | 384 | $this->fileView->changeLock($this->path, $type); |
385 | 385 | } |
386 | 386 | |
387 | + /** |
|
388 | + * @param boolean $recursive |
|
389 | + */ |
|
387 | 390 | public function getLocks($recursive) { |
388 | 391 | $this->fileView->getLocks($this->path); |
389 | 392 | } |
@@ -33,6 +33,9 @@ discard block |
||
33 | 33 | /** @var Tree */ |
34 | 34 | private $tree; |
35 | 35 | |
36 | + /** |
|
37 | + * @param Tree $tree |
|
38 | + */ |
|
36 | 39 | public function __construct($tree) { |
37 | 40 | $this->tree = $tree; |
38 | 41 | } |
@@ -75,7 +78,7 @@ discard block |
||
75 | 78 | * |
76 | 79 | * @param string $uri |
77 | 80 | * @param Locks\LockInfo $lockInfo |
78 | - * @return bool |
|
81 | + * @return boolean|null |
|
79 | 82 | */ |
80 | 83 | function lock($uri, Locks\LockInfo $lockInfo) { |
81 | 84 | // TODO: Implement lock() method. |
@@ -86,7 +89,7 @@ discard block |
||
86 | 89 | * |
87 | 90 | * @param string $uri |
88 | 91 | * @param Locks\LockInfo $lockInfo |
89 | - * @return bool |
|
92 | + * @return boolean|null |
|
90 | 93 | */ |
91 | 94 | function unlock($uri, Locks\LockInfo $lockInfo) { |
92 | 95 | // TODO: Implement unlock() method. |