/**
* Type of the field, one of the constants above
*
- * @var int
+ * @var string
*/
protected $type;
/**
* @param string $name Field name
- * @param int $type Index type
+ * @param string $type Index type
*/
public function __construct( $name, $type ) {
$this->name = $name;