We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0ef641 + 74af7bd commit f236024Copy full SHA for f236024
2 files changed
Generator/StringGenerator.php
@@ -10,7 +10,6 @@ class StringGenerator implements GeneratorInterface
10
private $alphabet;
11
private $length;
12
13
-
14
/**
15
* Set the characters that can be used to generate the string
16
*
@@ -50,4 +49,4 @@ public function generate()
50
49
51
return implode($str);
52
}
53
-}
+}
Model/GeneratorInterface.php
@@ -6,13 +6,13 @@ interface GeneratorInterface
6
{
7
8
9
- * @param $alphabet
+ * @param string $alphabet
* @return $this
*/
public function setAlphabet($alphabet);
- * @param $length
+ * @param integer $length
17
18
public function setLength($length);
@@ -21,4 +21,4 @@ public function setLength($length);
21
* @return string
22
23
public function generate();
24
0 commit comments