mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 21:53:08 -06:00
There are no converters that need the role of the current field.
This commit is contained in:
parent
cc9d1c4bfd
commit
9ce960b3d7
@ -18,8 +18,6 @@ class BasicConverter
|
|||||||
/** @var array */
|
/** @var array */
|
||||||
protected $mapped;
|
protected $mapped;
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $role;
|
|
||||||
/** @var string */
|
|
||||||
protected $value;
|
protected $value;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -86,22 +84,6 @@ class BasicConverter
|
|||||||
$this->mapped = $mapped;
|
$this->mapped = $mapped;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function getRole()
|
|
||||||
{
|
|
||||||
return $this->role;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param string $role
|
|
||||||
*/
|
|
||||||
public function setRole($role)
|
|
||||||
{
|
|
||||||
$this->role = $role;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@ -36,11 +36,6 @@ interface ConverterInterface
|
|||||||
*/
|
*/
|
||||||
public function setMapped($mapped);
|
public function setMapped($mapped);
|
||||||
|
|
||||||
/**
|
|
||||||
* @param string $role
|
|
||||||
*/
|
|
||||||
public function setRole($role);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $value
|
* @param string $value
|
||||||
*/
|
*/
|
||||||
|
@ -255,7 +255,6 @@ class Importer
|
|||||||
$converter->setIndex($index);
|
$converter->setIndex($index);
|
||||||
$converter->setMapped($this->mapped);
|
$converter->setMapped($this->mapped);
|
||||||
$converter->setValue($value);
|
$converter->setValue($value);
|
||||||
$converter->setRole($role);
|
|
||||||
$data[$field] = $converter->convert();
|
$data[$field] = $converter->convert();
|
||||||
}
|
}
|
||||||
// move to class vars.
|
// move to class vars.
|
||||||
|
Loading…
Reference in New Issue
Block a user