Doc-comments: Declare type properties

This commit is contained in:
Jakub Vrana
2025-03-28 09:20:10 +01:00
parent 5e88dae4e2
commit ab4208dcb8
9 changed files with 39 additions and 40 deletions

View File

@@ -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();