diff --git a/src/Model/DecoratedFile.php b/src/Model/DecoratedFile.php index 8710d1f..6263bd1 100644 --- a/src/Model/DecoratedFile.php +++ b/src/Model/DecoratedFile.php @@ -6,15 +6,27 @@ use DateTimeImmutable; +/** + * @template T of File + */ abstract class DecoratedFile implements File { + /** + * @var T + */ protected File $decorated; + /** + * @param T $decorated + */ public function __construct(File $decorated) { $this->decorated = $decorated; } + /** + * @return T + */ public function getDecorated(): File { return $this->decorated;