Skip to content

Commit

Permalink
Revert "Handle booted state using boolean property"
Browse files Browse the repository at this point in the history
This reverts commit 8804498.
  • Loading branch information
caendesilva committed Apr 7, 2024
1 parent 3ec67c6 commit 9a4ccde
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/framework/src/Facades/Features.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ class Features implements SerializableContract
*/
protected array $enabled = [];

protected bool $booted = false;

public function __construct()
{
$this->boot();
Expand Down Expand Up @@ -231,7 +229,5 @@ protected static function getDefaultOptions(): array
protected function boot(): void
{
$this->enabled = Config::getArray('hyde.features', static::getDefaultOptions());

$this->booted = true;
}
}

0 comments on commit 9a4ccde

Please sign in to comment.