Skip to content

Commit

Permalink
Typed recurse_copy()
Browse files Browse the repository at this point in the history
  • Loading branch information
craigmayhew committed Jan 10, 2024
1 parent 79cb558 commit 34550be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function __construct(string $dir='') {
$this->destinationFolder = $this->dir.$this->destinationFolder;
}

private function recurse_copy($src,$dst) {
private function recurse_copy(string $src, string $dst) :void {
$dir = opendir($src);
@mkdir($dst);
while(false !== ( $file = readdir($dir)) ) {
Expand Down

0 comments on commit 34550be

Please sign in to comment.