Skip to content

Commit

Permalink
Add __debugInfo without cogs list to Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen committed Jun 11, 2023
1 parent b287b48 commit d34836a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,17 @@ public static function fromArray(string $url, array $data): static {
}
return $repo;
}

public function __debugInfo() {
return [
'url' => $this->url,
'name' => $this->name,
'category' => $this->category,
'added_at' => $this->added_at,
'approved_at' => $this->approved_at,
'branch' => $this->branch,
];
}
}

class Cog
Expand Down

0 comments on commit d34836a

Please sign in to comment.