From 72739590070a82c30fdb46424337a68f66a634f5 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Wed, 27 Apr 2016 10:34:49 +0200 Subject: [PATCH] ThresholdRange: reword doc refs #8194 --- .../Monitoring/Plugin/ThresholdRange.php | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/modules/monitoring/library/Monitoring/Plugin/ThresholdRange.php b/modules/monitoring/library/Monitoring/Plugin/ThresholdRange.php index 476d647c6..16662210e 100644 --- a/modules/monitoring/library/Monitoring/Plugin/ThresholdRange.php +++ b/modules/monitoring/library/Monitoring/Plugin/ThresholdRange.php @@ -9,14 +9,14 @@ namespace Icinga\Module\Monitoring\Plugin; class ThresholdRange { /** - * The least value inside the range (null stands for -∞) + * The smallest value inside the range (null stands for -∞) * * @var float|null */ protected $min; /** - * The greatest value inside the range (null stands for ∞) + * The biggest value inside the range (null stands for ∞) * * @var float|null */ @@ -73,7 +73,7 @@ class ThresholdRange } /** - * Set the least value inside the range (null stands for -∞) + * Set the smallest value inside the range (null stands for -∞) * * @param float|null $min * @@ -86,7 +86,7 @@ class ThresholdRange } /** - * Get the least value inside the range (null stands for -∞) + * Get the smallest value inside the range (null stands for -∞) * * @return float|null */ @@ -96,7 +96,7 @@ class ThresholdRange } /** - * Set the greatest value inside the range (null stands for ∞) + * Set the biggest value inside the range (null stands for ∞) * * @param float|null $max * @@ -109,7 +109,7 @@ class ThresholdRange } /** - * Get the greatest value inside the range (null stands for ∞) + * Get the biggest value inside the range (null stands for ∞) * * @return float|null */ @@ -142,9 +142,11 @@ class ThresholdRange } /** + * Return whether $value is inside $this + * * @param float $value * - * @return bool Whether $value is inside $this + * @return bool */ public function contains($value) { @@ -154,7 +156,9 @@ class ThresholdRange } /** - * @return string The textual representation of $this, suitable for fromString() + * Return the textual representation of $this, suitable for fromString() + * + * @return string */ public function __toString() {