@@ -25,10 +25,10 @@ |
||
| 25 | 25 | |
| 26 | 26 | //.tiff |
| 27 | 27 | class TIFF extends Bitmap { |
| 28 | - /** |
|
| 29 | - * {@inheritDoc} |
|
| 30 | - */ |
|
| 31 | - public function getMimeType(): string { |
|
| 32 | - return '/image\/tiff/'; |
|
| 33 | - } |
|
| 28 | + /** |
|
| 29 | + * {@inheritDoc} |
|
| 30 | + */ |
|
| 31 | + public function getMimeType(): string { |
|
| 32 | + return '/image\/tiff/'; |
|
| 33 | + } |
|
| 34 | 34 | } |
@@ -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 | } |
@@ -25,10 +25,10 @@ |
||
| 25 | 25 | |
| 26 | 26 | //.ai |
| 27 | 27 | class Illustrator extends Bitmap { |
| 28 | - /** |
|
| 29 | - * {@inheritDoc} |
|
| 30 | - */ |
|
| 31 | - public function getMimeType(): string { |
|
| 32 | - return '/application\/illustrator/'; |
|
| 33 | - } |
|
| 28 | + /** |
|
| 29 | + * {@inheritDoc} |
|
| 30 | + */ |
|
| 31 | + public function getMimeType(): string { |
|
| 32 | + return '/application\/illustrator/'; |
|
| 33 | + } |
|
| 34 | 34 | } |
@@ -25,10 +25,10 @@ |
||
| 25 | 25 | |
| 26 | 26 | //.eps |
| 27 | 27 | class Postscript extends Bitmap { |
| 28 | - /** |
|
| 29 | - * {@inheritDoc} |
|
| 30 | - */ |
|
| 31 | - public function getMimeType(): string { |
|
| 32 | - return '/application\/postscript/'; |
|
| 33 | - } |
|
| 28 | + /** |
|
| 29 | + * {@inheritDoc} |
|
| 30 | + */ |
|
| 31 | + public function getMimeType(): string { |
|
| 32 | + return '/application\/postscript/'; |
|
| 33 | + } |
|
| 34 | 34 | } |
@@ -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 | } |