Skip to content

Commit

Permalink
- Modify docblock with \Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
security-database committed Jul 28, 2016
1 parent bd8ad2b commit 0d947f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

###Version
####1.3.2
- Modify docblock with \Exception
- Add a Clean() function to be able to clean Object before register another one
- Add public vector_part (Base, Temp and Env vector part)
- Modify private to public base, env and tmp
Expand Down
20 changes: 10 additions & 10 deletions src/Cvss3.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class Cvss3

/**
* Cvss3 constructor.
* @throws Exception
* @throws \Exception
*/
public function __construct()
{
Expand All @@ -260,7 +260,7 @@ public function __construct()

/**
* @param string $vector
* @throws Exception
* @throws \Exception
*/
public function register($vector)
{
Expand All @@ -283,7 +283,7 @@ public function register($vector)

/**
* @param string $vector
* @throws Exception
* @throws \Exception
*/
private function explodeVector($vector)
{
Expand All @@ -301,7 +301,7 @@ private function explodeVector($vector)


/**
* @throws Exception
* @throws \Exception
*/
private function checkMandatory()
{
Expand All @@ -317,7 +317,7 @@ private function checkMandatory()
}

/**
* @throws Exception
* @throws \Exception
*/
private function checkOptional()
{
Expand All @@ -331,7 +331,7 @@ private function checkOptional()
}

/**
* @throws Exception
* @throws \Exception
*/
private function checkModified()
{
Expand All @@ -345,7 +345,7 @@ private function checkModified()
}

/**
* @throws Exception
* @throws \Exception
*/
private function checkInput()
{
Expand All @@ -371,7 +371,7 @@ private function checkInput()


/**
* @throws Exception
* @throws \Exception
*
*/
private function constructWeights()
Expand Down Expand Up @@ -456,7 +456,7 @@ private function constructWeights()
}

/**
* @throws Exception
* @throws \Exception
*/
private function calculate()
{
Expand Down Expand Up @@ -587,7 +587,7 @@ private function calculate()
}

/**
* @throws Exception
* @throws \Exception
*/
private function buildLanguage() {

Expand Down

0 comments on commit 0d947f2

Please sign in to comment.