Commit 1e252b67 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

more style fixes

parent 6b904168
......@@ -8,7 +8,7 @@
*/
namespace OC\Preview;
class Image extends Provider{
class Image extends Provider {
public function getMimeType() {
return '/image\/.*/';
......
......@@ -9,7 +9,8 @@
namespace OC\Preview;
if(!is_null(shell_exec('ffmpeg -version'))) {
class Movie extends Provider{
class Movie extends Provider {
public function getMimeType() {
return '/video\/.*/';
......
<?php
Provider{<?php
/**
* Copyright (c) 2013 Georg Ehrke georg@ownCloud.com
* This file is licensed under the Affero General Public License version 3 or
......@@ -9,7 +9,7 @@ namespace OC\Preview;
require_once('getid3/getid3.php');
class MP3 extends Provider{
class MP3 extends Provider {
public function getMimeType() {
return '/audio\/mpeg/';
......
......@@ -9,7 +9,7 @@ namespace OC\Preview;
if (extension_loaded('imagick')) {
class PDF extends Provider{
class PDF extends Provider {
public function getMimeType() {
return '/application\/pdf/';
......
......@@ -4,7 +4,7 @@
*/
namespace OC\Preview;
abstract class Provider{
abstract class Provider {
private $options;
public function __construct($options) {
......
......@@ -9,7 +9,7 @@ namespace OC\Preview;
if (extension_loaded('imagick')) {
class SVG extends Provider{
class SVG extends Provider {
public function getMimeType() {
return '/image\/svg\+xml/';
......
......@@ -7,7 +7,7 @@
*/
namespace OC\Preview;
class TXT extends Provider{
class TXT extends Provider {
public function getMimeType() {
return '/text\/.*/';
......
......@@ -8,7 +8,7 @@
*/
namespace OC\Preview;
class Unknown extends Provider{
class Unknown extends Provider {
public function getMimeType() {
return '/.*/';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment