Skip to content

Commit

Permalink
php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Dec 15, 2017
1 parent 3e2beb4 commit 0485c6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions concrete/src/File/Type/Inspector/FlvInspector.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

namespace Concrete\Core\File\Type\Inspector;

use Concrete\Core\Entity\File\Version;
Expand Down
6 changes: 3 additions & 3 deletions concrete/src/File/Type/Inspector/ImageInspector.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Concrete\Core\File\Type\Inspector;

use Concrete\Core\Entity\File\Version;
use Image;
use FileAttributeKey;
use Core;
use Image;

class ImageInspector extends Inspector
{
Expand All @@ -24,7 +24,7 @@ public function inspect(Version $fv)
if (\Config::get('concrete.file_manager.images.use_exif_data_to_rotate_images')) {
$metadata = $image->metadata();
if (isset($metadata['ifd0.Orientation'])) {
\Log::info('EXIF data found: '. $metadata['ifd0.Orientation']);
\Log::info('EXIF data found: ' . $metadata['ifd0.Orientation']);
switch ($metadata['ifd0.Orientation']) {
case 3:
$image->rotate(180);
Expand Down
1 change: 1 addition & 0 deletions concrete/src/File/Type/Inspector/Inspector.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

namespace Concrete\Core\File\Type\Inspector;

use Concrete\Core\Entity\File\Version;
Expand Down

0 comments on commit 0485c6c

Please sign in to comment.