mirror of
https://github.com/vrana/adminer.git
synced 2026-02-22 14:38:02 +01:00
Doc-comments: Declare type properties
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
namespace Adminer;
|
||||
|
||||
class TmpFile {
|
||||
/** @var resource */ private $handler;
|
||||
/** @var int @visibility protected(set) */ public $size;
|
||||
private resource $handler;
|
||||
/** @visibility protected(set) */ public int $size;
|
||||
|
||||
function __construct() {
|
||||
$this->handler = tmpfile();
|
||||
|
||||
Reference in New Issue
Block a user