Skip to content

Commit

Permalink
fix: remove $request parameter from get_report_schema() fn
Browse files Browse the repository at this point in the history
  • Loading branch information
henryholtgeerts committed Mar 27, 2020
1 parent 37f2264 commit 67b755f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/API/Endpoints/Reports/Endpoint.php
Expand Up @@ -178,10 +178,8 @@ public function get_report( $request ) {

/**
* Get our sample schema for a report
*
* @param WP_REST_Request $request Current request.
*/
public function get_report_schema( $request ) {
public function get_report_schema() {

if ( $this->schema ) {
// Since WordPress 5.3, the schema can be cached in the $schema property.
Expand Down

0 comments on commit 67b755f

Please sign in to comment.