@@ -23,10 +23,10 @@ |
||
| 23 | 23 | namespace OC\Preview; |
| 24 | 24 | |
| 25 | 25 | class BMP extends Image { |
| 26 | - /** |
|
| 27 | - * {@inheritDoc} |
|
| 28 | - */ |
|
| 29 | - public function getMimeType(): string { |
|
| 30 | - return '/image\/bmp/'; |
|
| 31 | - } |
|
| 26 | + /** |
|
| 27 | + * {@inheritDoc} |
|
| 28 | + */ |
|
| 29 | + public function getMimeType(): string { |
|
| 30 | + return '/image\/bmp/'; |
|
| 31 | + } |
|
| 32 | 32 | } |
@@ -23,10 +23,10 @@ |
||
| 23 | 23 | namespace OC\Preview; |
| 24 | 24 | |
| 25 | 25 | class GIF extends Image { |
| 26 | - /** |
|
| 27 | - * {@inheritDoc} |
|
| 28 | - */ |
|
| 29 | - public function getMimeType(): string { |
|
| 30 | - return '/image\/gif/'; |
|
| 31 | - } |
|
| 26 | + /** |
|
| 27 | + * {@inheritDoc} |
|
| 28 | + */ |
|
| 29 | + public function getMimeType(): string { |
|
| 30 | + return '/image\/gif/'; |
|
| 31 | + } |
|
| 32 | 32 | } |
@@ -23,10 +23,10 @@ |
||
| 23 | 23 | namespace OC\Preview; |
| 24 | 24 | |
| 25 | 25 | class XBitmap extends Image { |
| 26 | - /** |
|
| 27 | - * {@inheritDoc} |
|
| 28 | - */ |
|
| 29 | - public function getMimeType(): string { |
|
| 30 | - return '/image\/x-xbitmap/'; |
|
| 31 | - } |
|
| 26 | + /** |
|
| 27 | + * {@inheritDoc} |
|
| 28 | + */ |
|
| 29 | + public function getMimeType(): string { |
|
| 30 | + return '/image\/x-xbitmap/'; |
|
| 31 | + } |
|
| 32 | 32 | } |
@@ -23,10 +23,10 @@ |
||
| 23 | 23 | namespace OC\Preview; |
| 24 | 24 | |
| 25 | 25 | class PNG extends Image { |
| 26 | - /** |
|
| 27 | - * {@inheritDoc} |
|
| 28 | - */ |
|
| 29 | - public function getMimeType(): string { |
|
| 30 | - return '/image\/png/'; |
|
| 31 | - } |
|
| 26 | + /** |
|
| 27 | + * {@inheritDoc} |
|
| 28 | + */ |
|
| 29 | + public function getMimeType(): string { |
|
| 30 | + return '/image\/png/'; |
|
| 31 | + } |
|
| 32 | 32 | } |
@@ -23,10 +23,10 @@ |
||
| 23 | 23 | |
| 24 | 24 | //.docm, .dotm, .xls(m), .xlt(m), .xla(m), .ppt(m), .pot(m), .pps(m), .ppa(m) |
| 25 | 25 | class MSOffice2003 extends Office { |
| 26 | - /** |
|
| 27 | - * {@inheritDoc} |
|
| 28 | - */ |
|
| 29 | - public function getMimeType(): string { |
|
| 30 | - return '/application\/vnd.ms-.*/'; |
|
| 31 | - } |
|
| 26 | + /** |
|
| 27 | + * {@inheritDoc} |
|
| 28 | + */ |
|
| 29 | + public function getMimeType(): string { |
|
| 30 | + return '/application\/vnd.ms-.*/'; |
|
| 31 | + } |
|
| 32 | 32 | } |
@@ -23,10 +23,10 @@ |
||
| 23 | 23 | namespace OC\Preview; |
| 24 | 24 | |
| 25 | 25 | class JPEG extends Image { |
| 26 | - /** |
|
| 27 | - * {@inheritDoc} |
|
| 28 | - */ |
|
| 29 | - public function getMimeType(): string { |
|
| 30 | - return '/image\/jpeg/'; |
|
| 31 | - } |
|
| 26 | + /** |
|
| 27 | + * {@inheritDoc} |
|
| 28 | + */ |
|
| 29 | + public function getMimeType(): string { |
|
| 30 | + return '/image\/jpeg/'; |
|
| 31 | + } |
|
| 32 | 32 | } |
@@ -31,9 +31,9 @@ |
||
| 31 | 31 | * @since 17.0.0 |
| 32 | 32 | */ |
| 33 | 33 | interface IVersionedPreviewFile { |
| 34 | - /** |
|
| 35 | - * @return string |
|
| 36 | - * @since 17.0.0 |
|
| 37 | - */ |
|
| 38 | - public function getPreviewVersion(): string; |
|
| 34 | + /** |
|
| 35 | + * @return string |
|
| 36 | + * @since 17.0.0 |
|
| 37 | + */ |
|
| 38 | + public function getPreviewVersion(): string; |
|
| 39 | 39 | } |
@@ -32,10 +32,10 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | class UnsupportedLimitOnInitialSyncException extends InsufficientStorage { |
| 34 | 34 | |
| 35 | - /** |
|
| 36 | - * @inheritDoc |
|
| 37 | - */ |
|
| 38 | - public function serialize(Server $server, \DOMElement $errorNode) { |
|
| 39 | - $errorNode->appendChild($errorNode->ownerDocument->createElementNS('DAV:', 'd:number-of-matches-within-limits')); |
|
| 40 | - } |
|
| 35 | + /** |
|
| 36 | + * @inheritDoc |
|
| 37 | + */ |
|
| 38 | + public function serialize(Server $server, \DOMElement $errorNode) { |
|
| 39 | + $errorNode->appendChild($errorNode->ownerDocument->createElementNS('DAV:', 'd:number-of-matches-within-limits')); |
|
| 40 | + } |
|
| 41 | 41 | } |
@@ -37,23 +37,23 @@ |
||
| 37 | 37 | * @since 17.0.0 |
| 38 | 38 | */ |
| 39 | 39 | class FeaturePolicy extends EmptyFeaturePolicy { |
| 40 | - protected $autoplayDomains = [ |
|
| 41 | - '\'self\'', |
|
| 42 | - ]; |
|
| 40 | + protected $autoplayDomains = [ |
|
| 41 | + '\'self\'', |
|
| 42 | + ]; |
|
| 43 | 43 | |
| 44 | - /** @var string[] of allowed domains that can access the camera */ |
|
| 45 | - protected $cameraDomains = []; |
|
| 44 | + /** @var string[] of allowed domains that can access the camera */ |
|
| 45 | + protected $cameraDomains = []; |
|
| 46 | 46 | |
| 47 | - protected $fullscreenDomains = [ |
|
| 48 | - '\'self\'', |
|
| 49 | - ]; |
|
| 47 | + protected $fullscreenDomains = [ |
|
| 48 | + '\'self\'', |
|
| 49 | + ]; |
|
| 50 | 50 | |
| 51 | - /** @var string[] of allowed domains that can use the geolocation of the device */ |
|
| 52 | - protected $geolocationDomains = []; |
|
| 51 | + /** @var string[] of allowed domains that can use the geolocation of the device */ |
|
| 52 | + protected $geolocationDomains = []; |
|
| 53 | 53 | |
| 54 | - /** @var string[] of allowed domains that can use the microphone */ |
|
| 55 | - protected $microphoneDomains = []; |
|
| 54 | + /** @var string[] of allowed domains that can use the microphone */ |
|
| 55 | + protected $microphoneDomains = []; |
|
| 56 | 56 | |
| 57 | - /** @var string[] of allowed domains that can use the payment API */ |
|
| 58 | - protected $paymentDomains = []; |
|
| 57 | + /** @var string[] of allowed domains that can use the payment API */ |
|
| 58 | + protected $paymentDomains = []; |
|
| 59 | 59 | } |