feat BlueprintAdminLibrary, BlueprintClientLibrary, BlueprintConsoleLibrary: Update fileMake documentation and return void

This commit is contained in:
prplwtf 2024-09-08 20:08:08 +02:00
parent 69d4d7dbc6
commit 26971cc681
3 changed files with 9 additions and 9 deletions

View file

@ -113,14 +113,14 @@ class BlueprintAdminLibrary
* Attempts to (non-recursively) create a file.
*
* @param string $path File name/path
* @return string Empty string unless error
* @throws string Errors encountered by `touch` shell utility
* @return void
*
* [BlueprintExtensionLibrary documentation](https://blueprint.zip/docs/?page=documentation/$blueprint)
*/
public function fileMake($path) {
public function fileMake($path): void {
$file = fopen($path, "w");
fclose($file);
return;
}
/**

View file

@ -70,14 +70,14 @@ class BlueprintClientLibrary
* Attempts to (non-recursively) create a file.
*
* @param string $path File name/path
* @return string Empty string unless error
* @throws string Errors encountered by `touch` shell utility
* @return void
*
* [BlueprintExtensionLibrary documentation](https://blueprint.zip/docs/?page=documentation/$blueprint)
*/
public function fileMake($path) {
public function fileMake($path): void {
$file = fopen($path, "w");
fclose($file);
return;
}
/**

View file

@ -70,14 +70,14 @@ class BlueprintConsoleLibrary
* Attempts to (non-recursively) create a file.
*
* @param string $path File name/path
* @return string Empty string unless error
* @throws string Errors encountered by `touch` shell utility
* @return void
*
* [BlueprintExtensionLibrary documentation](https://blueprint.zip/docs/?page=documentation/$blueprint)
*/
public function fileMake($path) {
public function fileMake($path): void {
$file = fopen($path, "w");
fclose($file);
return;
}
/**