Skip to content

Commit

Permalink
Fix doc comment style
Browse files Browse the repository at this point in the history
  • Loading branch information
merkushin committed Oct 1, 2023
1 parent 5699afc commit 904464b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions includes/class-sensei-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -1471,9 +1471,9 @@ public static function user_complete_course( $course_id = 0, $user_id = 0, $trig
/**
* Get completion percentage.
*
* @param $numerator
* @param $denominator
* @param int $decimal_places_to_round
* @param mixed $numerator Numerator.
* @param int $denominator Denominator.
* @param int $decimal_places_to_round Decimal places to round.
* @return float
*/
public static function quotient_as_absolute_rounded_percentage( $numerator, $denominator, $decimal_places_to_round = 0 ) {
Expand All @@ -1483,9 +1483,9 @@ public static function quotient_as_absolute_rounded_percentage( $numerator, $den
/**
* Get formatted quotient.
*
* @param mixed $numerator
* @param int $denominator
* @param int $decimal_places_to_round
* @param mixed $numerator Numerator.
* @param int $denominator Denominator.
* @param int $decimal_places_to_round Decimal places to round.
* @return float
*/
public static function quotient_as_absolute_rounded_number( $numerator, $denominator, $decimal_places_to_round = 0 ) {
Expand All @@ -1497,10 +1497,10 @@ public static function quotient_as_absolute_rounded_number( $numerator, $denomin
}

/**
* Round a number to a given number of decimal places
* Round a number to a given number of decimal places.
*
* @param mixed $number
* @param int $decimal_places_to_round
* @param mixed $number Number to round.
* @param int $decimal_places_to_round Decimal places to round.
* @return float
*/
public static function as_absolute_rounded_number( $number, $decimal_places_to_round = 0 ) {
Expand Down

0 comments on commit 904464b

Please sign in to comment.