Skip to content

Commit

Permalink
Fix lintes issues
Browse files Browse the repository at this point in the history
  • Loading branch information
m1r0 committed Sep 30, 2023
1 parent 8864aae commit 4288211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/class-sensei-quiz.php
Original file line number Diff line number Diff line change
Expand Up @@ -2365,7 +2365,7 @@ public function maybe_create_quiz_progress( $quiz_id = '', $user_id = '' ): void
return;
}

$quiz_available = static::is_quiz_available($quiz_id, $user_id);
$quiz_available = static::is_quiz_available( $quiz_id, $user_id );
if ( ! $quiz_available ) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ protected function resolve_job( $job_id, $allow_current = false ) {
* @return WP_REST_Response|WP_Error
*/
public function request_get_job( $request ) {
$job_id = static::get_job_id_param($request);
$job_id = static::get_job_id_param( $request );
$job = $this->resolve_job( $job_id, true );

if ( ! $job ) {
Expand Down Expand Up @@ -180,7 +180,7 @@ public function request_get_job( $request ) {
* @return WP_REST_Response|WP_Error
*/
public function request_process_job( $request ) {
$job = $this->get_job( static::get_job_id_param($request) );
$job = $this->get_job( static::get_job_id_param( $request ) );

Check warning on line 183 in includes/rest-api/class-sensei-rest-api-data-port-controller.php

View check run for this annotation

Codecov / codecov/patch

includes/rest-api/class-sensei-rest-api-data-port-controller.php#L183

Added line #L183 was not covered by tests

if ( ! $job ) {
return new WP_Error(
Expand Down

0 comments on commit 4288211

Please sign in to comment.