Skip to content

Commit

Permalink
Add and normalise generic array annotations in file
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 29, 2023
1 parent 4af3c81 commit e90de61
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class ColoredBlockquotes implements MarkdownShortcodeContract
/** @var string The core signature. We combine this with an additional check for color later. */
protected static string $signature = '>';

/** @var array<string> */
protected static array $signatures = ['>danger', '>info', '>success', '>warning'];

public static function signature(): string
Expand All @@ -38,7 +39,7 @@ public static function resolve(string $input): string
/**
* @internal
*
* @return string[]
* @return array<string>
*/
public static function getSignatures(): array
{
Expand Down

0 comments on commit e90de61

Please sign in to comment.