Skip to content

Commit

Permalink
Doc primitive last
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming authored Feb 25, 2025
1 parent fe13130 commit 0c0244f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Discord/Builders/Components/UnfurledMediaItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ public static function new(string $url): self
/**
* Creates a new unfurled media item from an attachment.
*
* @param string|Attachment $filename Name of the attachment file, or null.
* @param Attachment|string $filename Name of the attachment file, or null.
*
* @return self
*/
public static function fromAttachment(string|Attachment $filename): self
public static function fromAttachment(Attachment|string $filename): self
{
if ($filename instanceof Attachment) {
$filename = $filename->filename;
Expand Down

0 comments on commit 0c0244f

Please sign in to comment.