Skip to content

Commit 860f7ce

Browse files
committed
Update README
1 parent 3f6dda7 commit 860f7ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ If you prefer to use a shorter version you can also use the helper method:
102102
$uuid = '12a3456b-c789-1234-1de2-3cfa83096e25';
103103
$cdnUrl = 'https://example.com/cdn/';
104104

105-
$url = uc($uuid, $cdnUrl)->crop(width: 320, height: '50p', offsetX: 'center')->setFill(color: 'ffffff');
105+
$url = uc($uuid, $cdnUrl)
106+
->crop(width: 320, height: '50p', offsetX: 'center')
107+
->setFill(color: 'ffffff')
108+
->getUrl();
106109

107110
echo $url;
108111
// https://example.com/cdn/12a3456b-c789-1234-1de2-3cfa83096e25/-/crop/320x50p/center/-/set_fill/ffffff

0 commit comments

Comments
 (0)