File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 55trait 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 *
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments