Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Jul 31, 2024
1 parent 2991737 commit 496bae7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/creating-a-runtime-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ class My_Custom_Check implements Runtime_Check {
public function run( Check_Result $result ) {
// Handle running the check and adding warnings or errors to the result.
}

public function get_description(): string {
// Return a short description about this check.
}

public function get_documentation_url(): string {
// Return the URL for further information about this check.
}
}
```

Expand Down Expand Up @@ -55,6 +63,14 @@ class My_Custom_Check extends Abstract_Runtime_Check {
public function run( Check_Result $result ) {
// Handle running the check and adding warnings or errors to the result.
}

public function get_description(): string {
// Return a short description about this check.
}

public function get_documentation_url(): string {
// Return the URL for further information about this check.
}
}
```

Expand Down

0 comments on commit 496bae7

Please sign in to comment.