@@ -94,6 +94,9 @@ |
||
94 | 94 | return $output; |
95 | 95 | } |
96 | 96 | |
97 | + /** |
|
98 | + * @param string $fileName |
|
99 | + */ |
|
97 | 100 | public function setFile($fileName) |
98 | 101 | { |
99 | 102 | $this->addHeader('X-SENDFILE', $fileName); |
@@ -32,6 +32,9 @@ discard block |
||
32 | 32 | /** @var string */ |
33 | 33 | private $serverMode; |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $serverMode |
|
37 | + */ |
|
35 | 38 | public function __construct(RemoteStorage $remoteStorage, $serverMode) |
36 | 39 | { |
37 | 40 | $this->remoteStorage = $remoteStorage; |
@@ -51,6 +54,9 @@ discard block |
||
51 | 54 | return $response; |
52 | 55 | } |
53 | 56 | |
57 | + /** |
|
58 | + * @param TokenInfo $tokenInfo |
|
59 | + */ |
|
54 | 60 | public function head(Request $request, $tokenInfo) |
55 | 61 | { |
56 | 62 | // XXX return headers only? |