PHP - Classes and Objects
Find the error in this PHP constructor code:
class Animal {
public $type;
public function __construct() {
$this->type = 'Dog'
}
}