Skip to content

Commit

Permalink
Update GetReactivatableDomainsResponse.php
Browse files Browse the repository at this point in the history
Minor fix to store the sorted results in the collection
  • Loading branch information
mvdgeijn authored Oct 17, 2024
1 parent 16c1279 commit 30b6d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Responses/GetReactivatableDomainsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected function parseResult( SimpleXMLElement $result ): self

protected function sortResult(): self
{
$this->items->sort( function( $a, $b ) {
$this->items = $this->items->sort( function( $a, $b ) {
return strcmp( $a->getDomain(), $b->getDomain() );
});

Expand Down

0 comments on commit 30b6d3f

Please sign in to comment.