Skip to content

Commit

Permalink
Correct phpdoc type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
redssu committed Nov 3, 2024
1 parent a657ca1 commit 6a9b285
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/DiscordMessage.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
declare(strict_types = 1);
declare(strict_types=1);

namespace SnoerenDevelopment\DiscordWebhook;

Expand All @@ -10,28 +10,28 @@ class DiscordMessage implements Arrayable
/**
* The message content.
*
* @var string
* @var string|null
*/
protected string|null $content = null;

/**
* The username.
*
* @var string
* @var string|null
*/
protected string|null $username = null;

/**
* The avatar URL.
*
* @var string
* @var string|null
*/
protected string|null $avatarUrl = null;

/**
* Indicates that this is a Text-to-speech message.
*
* @var boolean
* @var boolean|null
*/
protected bool|null $tts = null;

Expand Down

0 comments on commit 6a9b285

Please sign in to comment.