<?php
declare(strict_types=1);

class 🥃whisky
{
    public    string     $name;
    public    int        $age;
    private   Distillery $distillery;
}

$whisky = new 🥃whisky;
$whisky->age = "29";
?>

TypeError: Typed property 🥃whisky::$age must be int, string used