Skip to content

Commit

Permalink
Update Images.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kawax committed Nov 22, 2024
1 parent 2ad7731 commit 295f221
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Embed/Images.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ public static function create(): self
}

/**
* Pass an Array or Blob.
* Pass an Array or BlobRef.
* ```
* use Revolution\Bluesky\Types\Blob;
* use Revolution\Bluesky\Types\BlobRef;
*
* $blob = Bluesky::uploadBlob(Storage::get('test.png'), Storage::mimeType('test.png'))->json('blob');
* $blob = Blob::fromArray($blob);
* $blob = BlobRef::fromArray($blob);
*
* $images = Images::create()
* ->add(alt: 'ALT TEXT', blob: $blob)
Expand Down

0 comments on commit 295f221

Please sign in to comment.