diff --git a/SensioLabs/Security/SecurityChecker.php b/SensioLabs/Security/SecurityChecker.php index 45608e9..ce1e9b1 100644 --- a/SensioLabs/Security/SecurityChecker.php +++ b/SensioLabs/Security/SecurityChecker.php @@ -14,7 +14,7 @@ class SecurityChecker { private $endPoint = 'https://security.sensiolabs.org/check_lock'; - private $vulnerabilitiesCount; + private $vulnerabilityCount; private $timeout = 20; public function setTimeout($timeout) @@ -151,13 +151,13 @@ public function check($lock, $format = 'text') throw new \RuntimeException('The web service did not return alerts count.'); } - $this->vulnerabilitiesCount = intval($matches[1]); + $this->vulnerabilityCount = intval($matches[1]); return $body; } public function getLastVulnerabilityCount() { - return $this->vulnerabilitiesCount; + return $this->vulnerabilityCount; } }