Skip to content

Commit f236024

Browse files
committed
Merge pull request #8 from mayeco/fix_scrutinizer
Fix scrutinizer
2 parents d0ef641 + 74af7bd commit f236024

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

Generator/StringGenerator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class StringGenerator implements GeneratorInterface
1010
private $alphabet;
1111
private $length;
1212

13-
1413
/**
1514
* Set the characters that can be used to generate the string
1615
*
@@ -50,4 +49,4 @@ public function generate()
5049

5150
return implode($str);
5251
}
53-
}
52+
}

Model/GeneratorInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ interface GeneratorInterface
66
{
77

88
/**
9-
* @param $alphabet
9+
* @param string $alphabet
1010
* @return $this
1111
*/
1212
public function setAlphabet($alphabet);
1313

1414
/**
15-
* @param $length
15+
* @param integer $length
1616
* @return $this
1717
*/
1818
public function setLength($length);
@@ -21,4 +21,4 @@ public function setLength($length);
2121
* @return string
2222
*/
2323
public function generate();
24-
}
24+
}

0 commit comments

Comments
 (0)