Describe the bugStr::random() accepts a string as the first parameter, then an integer as the second. This is weird behaviour as the method should only require an integer - the string is never used.
To Reproduce
Steps to reproduce the behaviour:
use the Str::random() function
Check the method signature
View the method
Expected behaviourrandom should only accept one parameter - the integer for string length.
Additional context
This is a side effect of using Str as a facade for Stringable
Describe the bug
Str::random()
accepts a string as the first parameter, then an integer as the second. This is weird behaviour as the method should only require an integer - the string is never used.To Reproduce Steps to reproduce the behaviour:
Str::random()
functionExpected behaviour
random
should only accept one parameter - the integer for string length.Additional context This is a side effect of using
Str
as a facade forStringable