Skip to content

Commit

Permalink
PHP strict standards say static methods should not be abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkatz committed Mar 31, 2017
1 parent e693515 commit 81375f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion future/includes/class-gv-entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ public static function get_endpoint_name() {
* @since future
* @return \GV\Entry|null An instance of this entry or null if not found.
*/
abstract public static function by_id( $entry_id );
public static function by_id( $entry_id ) {
return null;
}

/**
* Return the backing entry object.
Expand Down

0 comments on commit 81375f6

Please sign in to comment.