Skip to content

Commit 92ca977

Browse files
Update apache/helpers.php
add types to function parameters Co-authored-by: William Desportes <[email protected]>
1 parent 76f4def commit 92ca977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class SslFileGenerationException extends Exception {}
1313
* @param string $extension The file extension to use for the generated SSL files.
1414
* @return string A comma-separated list of paths to the generated SSL files.
1515
*/
16-
function decodeAndSaveSslFiles($base64_string, $prefix, $extension) {
16+
function decodeAndSaveSslFiles(string $base64_string, string $prefix, string $extension): array {
1717
// Ensure the output directory exists
1818
if (!is_dir(OUTPUT_DIR)) {
1919
mkdir(OUTPUT_DIR, 0755, true);

0 commit comments

Comments
 (0)