mirror of
https://github.com/vrana/adminer.git
synced 2026-04-09 22:20:16 +02:00
Doc-comments: Move return types to declaration
This commit is contained in:
@@ -10,15 +10,13 @@ class TmpFile {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
function write(string $contents) {
|
||||
function write(string $contents): void {
|
||||
$this->size += strlen($contents);
|
||||
fwrite($this->handler, $contents);
|
||||
}
|
||||
|
||||
/** @return void */
|
||||
function send() {
|
||||
function send(): void {
|
||||
fseek($this->handler, 0);
|
||||
fpassthru($this->handler);
|
||||
fclose($this->handler);
|
||||
|
||||
Reference in New Issue
Block a user