mirror of
https://github.com/vrana/adminer.git
synced 2026-02-22 22:51:03 +01:00
Doc-comments: Move param types to declaration
This commit is contained in:
@@ -10,10 +10,9 @@ class TmpFile {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $contents
|
||||
* @return void
|
||||
*/
|
||||
function write($contents) {
|
||||
function write(string $contents) {
|
||||
$this->size += strlen($contents);
|
||||
fwrite($this->handler, $contents);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user