diff --git a/src/Spamassassin/Client.php b/src/Spamassassin/Client.php index 57549e2..bbbaf7c 100644 --- a/src/Spamassassin/Client.php +++ b/src/Spamassassin/Client.php @@ -213,8 +213,8 @@ protected function parseOutput($header, $message) $result->isSpam = true : $result->isSpam = false; - $result->score = (float) $matches[2]; - $result->thresold = (float) $matches[3]; + $result->score = (float) $matches[2]; + $result->threshold = (float) $matches[3]; } else { /** @@ -232,8 +232,8 @@ protected function parseOutput($header, $message) $result->isSpam = true : $result->isSpam = false; - $result->score = (float) $matches[2]; - $result->thresold = (float) $matches[3]; + $result->score = (float) $matches[2]; + $result->threshold = (float) $matches[3]; } } diff --git a/src/Spamassassin/Client/Result.php b/src/Spamassassin/Client/Result.php index 4780ce8..0d1cc71 100644 --- a/src/Spamassassin/Client/Result.php +++ b/src/Spamassassin/Client/Result.php @@ -52,7 +52,7 @@ class Result * * @var float */ - public $thresold; + public $threshold; /** * Is it spam or not?