Skip to content

Commit 4c15d87

Browse files
committed
code styles
1 parent fbce076 commit 4c15d87

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/ImageInfo/UtilsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
trait UtilsTrait
66
{
77
/**
8-
* Extract image info from embedded images (data:image/jpeg;base64,...)
8+
* Extract image info from embedded images (data:image/jpeg;base64,...).
99
*
1010
* @param string $content
1111
*

src/Url.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ private function setPath($path)
499499
if ($this->getScheme() === 'data') {
500500
$this->info['content'] = $path;
501501
$this->info['path'] = $this->info['file'] = $this->info['extension'] = null;
502+
502503
return;
503504
}
504505

tests/ImageInfoTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public function testBase64Images()
4949
'config' => [
5050
'minImageWidth' => 0,
5151
'minImageHeight' => 0,
52-
]
53-
]
52+
],
53+
],
5454
]);
5555

5656
$this->assertEquals($info->image, self::TEST_IMAGE_BASE64_IMAGE);
@@ -63,14 +63,14 @@ public function testBase64ImagesGuzzle()
6363
'config' => [
6464
'minImageWidth' => 0,
6565
'minImageHeight' => 0,
66-
]
66+
],
6767
],
6868
'image' => [
6969
'class' => 'Embed\ImageInfo\Guzzle5',
7070
'config' => [
71-
'client' => new \GuzzleHttp\Client()
72-
]
73-
]
71+
'client' => new \GuzzleHttp\Client(),
72+
],
73+
],
7474
]);
7575

7676
$this->assertEquals($info->image, self::TEST_IMAGE_BASE64_IMAGE);

0 commit comments

Comments
 (0)