Skip to content

Commit

Permalink
fixed class declaration in phpdoc for SecurityLib\Strength
Browse files Browse the repository at this point in the history
  • Loading branch information
lavoiesl committed Jan 23, 2015
1 parent 200fbcf commit 3429634
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/RandomLib/AbstractSource.php
Expand Up @@ -25,7 +25,7 @@ abstract class AbstractSource implements \RandomLib\Source {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return new Strength(Strength::VERYLOW);
Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Mixer.php
Expand Up @@ -31,7 +31,7 @@ interface Mixer {
/**
* Return an instance of Strength indicating the strength of the mixer
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength();

Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Mixer/Hash.php
Expand Up @@ -54,7 +54,7 @@ public function __construct($hash = 'sha512') {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return new Strength(Strength::MEDIUM);
Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Source.php
Expand Up @@ -31,7 +31,7 @@ interface Source {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength();

Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Source/CAPICOM.php
Expand Up @@ -35,7 +35,7 @@ class CAPICOM extends \RandomLib\AbstractSource {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return new Strength(Strength::MEDIUM);
Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Source/MTRand.php
Expand Up @@ -39,7 +39,7 @@ class MTRand extends \RandomLib\AbstractSource {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
// Detect if Suhosin Hardened PHP patch is applied
Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Source/OpenSSL.php
Expand Up @@ -35,7 +35,7 @@ class OpenSSL extends \RandomLib\AbstractSource {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return new Strength(Strength::HIGH);
Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Source/Rand.php
Expand Up @@ -39,7 +39,7 @@ class Rand extends \RandomLib\AbstractSource {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
// Detect if Suhosin Hardened PHP patch is applied
Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Source/Random.php
Expand Up @@ -40,7 +40,7 @@ class Random extends URandom {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return new Strength(Strength::HIGH);
Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Source/URandom.php
Expand Up @@ -40,7 +40,7 @@ class URandom extends \RandomLib\AbstractSource {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return new Strength(Strength::MEDIUM);
Expand Down
2 changes: 1 addition & 1 deletion lib/RandomLib/Source/UniqID.php
Expand Up @@ -37,7 +37,7 @@ class UniqID extends \RandomLib\AbstractSource {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return new Strength(Strength::LOW);
Expand Down
2 changes: 1 addition & 1 deletion test/Mocks/Random/Mixer.php
Expand Up @@ -40,7 +40,7 @@ public static function init() {
/**
* Return an instance of Strength indicating the strength of the mixer
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return static::$strength;
Expand Down
2 changes: 1 addition & 1 deletion test/Mocks/Random/Source.php
Expand Up @@ -38,7 +38,7 @@ public static function init() {
/**
* Return an instance of Strength indicating the strength of the source
*
* @return Strength An instance of one of the strength classes
* @return \SecurityLib\Strength An instance of one of the strength classes
*/
public static function getStrength() {
return static::$strength;
Expand Down

0 comments on commit 3429634

Please sign in to comment.