Skip to content

Commit

Permalink
Update apache/helpers.php
Browse files Browse the repository at this point in the history
add types to function parameters

Co-authored-by: William Desportes <[email protected]>
  • Loading branch information
LordRobinCbz and williamdes authored Dec 21, 2024
1 parent 76f4def commit 92ca977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class SslFileGenerationException extends Exception {}
* @param string $extension The file extension to use for the generated SSL files.
* @return string A comma-separated list of paths to the generated SSL files.
*/
function decodeAndSaveSslFiles($base64_string, $prefix, $extension) {
function decodeAndSaveSslFiles(string $base64_string, string $prefix, string $extension): array {
// Ensure the output directory exists
if (!is_dir(OUTPUT_DIR)) {
mkdir(OUTPUT_DIR, 0755, true);
Expand Down

0 comments on commit 92ca977

Please sign in to comment.