Skip to content

Commit

Permalink
Make type, label public
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysblank committed Oct 1, 2020
1 parent 18a7dde commit a8484d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collections.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ abstract class Collection
*
* @return string
*/
protected abstract function type(): string;
public abstract function type(): string;

/**
* Returns the human name of this post type, i.e. `Sandwich Fixing`.
* Should be singular.
*
* @return string
*/
protected abstract function label(): string;
public abstract function label(): string;

/**
* Returns array of arguments for post type.
Expand Down

0 comments on commit a8484d6

Please sign in to comment.