Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreLebedel authored and github-actions[bot] committed Oct 29, 2024
1 parent 82e0ed4 commit 0a8e7d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/VCardsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ public function first(): ?AbstractVCard
return $this->vCards[0] ?? null;
}

public function __toString() :string
public function __toString(): string
{
$collectionString = '';
foreach($this->vCards as $vCard){
foreach ($this->vCards as $vCard) {
$collectionString .= (string) $vCard;
}

return $collectionString;
}

Expand Down

0 comments on commit 0a8e7d7

Please sign in to comment.