Reduce duplication in H264MappingGenerator

This commit is contained in:
Benoît Burnichon
2016-01-21 14:11:25 +01:00
parent e68eb78657
commit f2942dac89
5 changed files with 44 additions and 42 deletions

View File

@@ -44,9 +44,7 @@ class databox_subdefsStructure implements IteratorAggregate, Countable
}
/**
*
* @param databox $databox
* @return Array
*/
public function __construct(databox $databox, TranslatorInterface $translator)
{
@@ -54,8 +52,6 @@ class databox_subdefsStructure implements IteratorAggregate, Countable
$this->translator = $translator;
$this->load_subdefs();
return $this->AvSubdefs;
}
/**