Skip to content

Commit

Permalink
Minor added typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
SecondeJK committed Sep 24, 2024
1 parent b98e182 commit 53cc211
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
5 changes: 1 addition & 4 deletions src/SMS/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@

class Collection implements Countable, Iterator
{
/**
* @var int
*/
protected $current = 0;
protected int $current = 0;

/**
* @param array<string, int|array<string, mixed>> $data
Expand Down
12 changes: 3 additions & 9 deletions src/Secrets/Secret.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@

class Secret implements ArrayHydrateInterface
{
/**
* @var DateTimeImmutable
*/
protected $createdAt;

/**
* @var string
*/
protected $id;
protected DateTimeImmutable $createdAt;

protected string $id;

public function __construct(array $data = [])
{
Expand Down

0 comments on commit 53cc211

Please sign in to comment.