Skip to content

Commit

Permalink
Fix return type in preprare_query() DocBlock.
Browse files Browse the repository at this point in the history
  • Loading branch information
pondermatic committed Sep 18, 2021
1 parent 2db4551 commit 17b2479
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 11 deletions.
5 changes: 2 additions & 3 deletions includes/abstracts/abstract.llms.database.query.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,7 @@ abstract protected function parse_args();
* Prepare the SQL for the query
*
* @since 3.8.0
*
* @return void
* @return string
*/
abstract protected function preprare_query();

Expand Down Expand Up @@ -434,7 +433,7 @@ protected function setup_args() {
*
* @since 4.5.1
*
* @param array $ars The query parse arguents.
* @param array $ars The query parse arguments.
* @param LLMS_Database_Query $db_query The LLMS_Database_Query instance.
* @param array $original_args Original arguments before merging with defaults.
* @param array $default_args Default arguments before merging with original.
Expand Down
1 change: 0 additions & 1 deletion includes/class-llms-events-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ protected function parse_args() {
*
* @since 3.36.0
* @since 4.7.0 Use `$this->sql_select_columns({columns})` to determine the columns to select.
*
* @return string
*/
protected function preprare_query() {
Expand Down
1 change: 0 additions & 1 deletion includes/class.llms.query.quiz.attempt.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ protected function parse_args() {
* Prepare the SQL for the query
*
* @since 3.16.0
*
* @return string
*/
protected function preprare_query() {
Expand Down
5 changes: 2 additions & 3 deletions includes/class.llms.query.user.postmeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,8 @@ protected function parse_args() {
/**
* Prepare the SQL for the query
*
* @return void
* @since 3.15.0
* @version 3.15.0
* @since 3.15.0
* @return string
*/
protected function preprare_query() {

Expand Down
3 changes: 1 addition & 2 deletions includes/class.llms.student.query.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ protected function parse_args() {
* @since 3.4.0
* @since 3.13.0 Unknown.
* @since 4.10.2 Demands to `$this->sql_select()` to determine whether or not `SQL_CALC_FOUND_ROWS` statement is needed.
*
* @return void
* @return string
*/
protected function preprare_query() {

Expand Down
1 change: 0 additions & 1 deletion includes/notifications/class.llms.notifications.query.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ private function parse_triggers() {
*
* @since 3.8.0
* @since 3.9.4 Unknown.
*
* @return string
*/
protected function preprare_query() {
Expand Down

0 comments on commit 17b2479

Please sign in to comment.