[formats] Rename variable 'data' to 'item'

This makes the intend of the variable more clear and is now
coherent with all Bridges
This commit is contained in:
logmanoriginal 2016-08-29 19:47:21 +02:00
parent a84016bcb6
commit cf146523be
6 changed files with 27 additions and 28 deletions

View file

@ -7,9 +7,9 @@ class JsonFormat extends FormatAbstract{
public function stringify(){
// FIXME : sometime content can be null, transform to empty string
$datas = $this->getItems();
$items = $this->getItems();
return json_encode($datas, JSON_PRETTY_PRINT);
return json_encode($items, JSON_PRETTY_PRINT);
}
public function display(){