Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Feb 6, 2024
1 parent 585a131 commit b0ebbfd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/records/GqlSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

use craft\db\ActiveRecord;
use craft\db\Table;
use craft\helpers\Json;

/**
* Class GqlSchema record.
Expand All @@ -31,13 +30,4 @@ public static function tableName(): string
{
return Table::GQLSCHEMAS;
}

public function __construct($config = [])
{
if (is_string($config['scope'] ?? null)) {
$config['scope'] = Json::decode($config['scope']);
}

parent::__construct($config);
}
}

0 comments on commit b0ebbfd

Please sign in to comment.