more style fixes

This commit is contained in:
Georg Ehrke 2013-05-29 13:11:43 +02:00
parent 6b90416891
commit 1e252b6763
8 changed files with 10 additions and 9 deletions

View file

@ -8,7 +8,7 @@
*/
namespace OC\Preview;
class Image extends Provider{
class Image extends Provider {
public function getMimeType() {
return '/image\/.*/';

View file

@ -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\/.*/';

View file

@ -1,4 +1,4 @@
<?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/';

View file

@ -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/';

View file

@ -4,7 +4,7 @@
*/
namespace OC\Preview;
abstract class Provider{
abstract class Provider {
private $options;
public function __construct($options) {

View file

@ -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/';

View file

@ -7,7 +7,7 @@
*/
namespace OC\Preview;
class TXT extends Provider{
class TXT extends Provider {
public function getMimeType() {
return '/text\/.*/';

View file

@ -8,7 +8,7 @@
*/
namespace OC\Preview;
class Unknown extends Provider{
class Unknown extends Provider {
public function getMimeType() {
return '/.*/';