@@ -11,7 +11,7 @@ |
||
11 | 11 | class RandomStrings |
12 | 12 | { |
13 | 13 | /** @var string[] */ |
14 | - public static array $possibilities = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']; |
|
14 | + public static array $possibilities = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']; |
|
15 | 15 | |
16 | 16 | public static function generate(int $length = 64): string |
17 | 17 | { |
@@ -43,7 +43,7 @@ |
||
43 | 43 | return $data->setPassedInitData( |
44 | 44 | strval($parsed->name ?? null), |
45 | 45 | intval(max(0, $parsed->totalParts ?? 0)), |
46 | - intval(max(0,$parsed->lastKnownPart ?? 0)), |
|
46 | + intval(max(0, $parsed->lastKnownPart ?? 0)), |
|
47 | 47 | intval(max(0, $parsed->partSize ?? 0)), |
48 | 48 | strval($parsed->encoder ?? 'base64'), |
49 | 49 | strval($parsed->check ?? 'md5') |
@@ -43,7 +43,7 @@ |
||
43 | 43 | return $data->setPassedInitData( |
44 | 44 | strval($parsed->name ?? null), |
45 | 45 | intval(max(0, $parsed->totalParts ?? 0)), |
46 | - intval(max(0,$parsed->lastKnownPart ?? 0)), |
|
46 | + intval(max(0, $parsed->lastKnownPart ?? 0)), |
|
47 | 47 | intval(max(0, $parsed->partSize ?? 0)), |
48 | 48 | strval($parsed->encoder ?? 'base64'), |
49 | 49 | strval($parsed->check ?? 'md5') |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $http_response_header = [ |
45 | 45 | 'HTTP/0.0 999', |
46 | 46 | 'local-file', |
47 | - 'path:'.$data->path |
|
47 | + 'path:' . $data->path |
|
48 | 48 | ]; |
49 | 49 | } |
50 | 50 | // @codeCoverageIgnoreEnd |