feat BlueprintAdminLibrary
, BlueprintClientLibrary
, BlueprintConsoleLibrary
: Update fileMake documentation and return void
This commit is contained in:
parent
69d4d7dbc6
commit
26971cc681
3 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue