<slide>
<title>Typed Properties</title>

<example result="0">
&lt;?php
declare(strict_types=1);

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

$whisky = new 🥃whisky;
$whisky->age = "29";
?>
</example>
<break/>

<div effect="fade-in">
<blurb class="error">
TypeError: Typed property 🥃whisky::$age must be int, string used
</blurb>
</div>
</slide>
