This should be only `$this->hints = $hints;` as you must give array after typehinting it.