Skip to content

Commit

Permalink
refactor: remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubersilva committed Nov 22, 2023
1 parent f4ad893 commit 6ea1626
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Framework/Blocks/BlockCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,6 @@ public static function fromJson($blocksJson): self
return new self($blocks);
}

/**
* @unreleased
*/
public static function fromArray(array $blocksArray): self
{
$blocks = [];
foreach ($blocksArray as $block) {
$blocks[] = BlockModel::make($block);
}

return new self($blocks);
}

/**
* @since 3.0.0
*
Expand Down

0 comments on commit 6ea1626

Please sign in to comment.