Skip to content

Commit

Permalink
Fixed Travis build (unwanted code remaining)
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleBigDev committed Jan 4, 2018
1 parent 4c55450 commit 1f7f521
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 44 deletions.
20 changes: 0 additions & 20 deletions src/PrestaShopBundle/Localization/Specification/Number.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,26 +173,6 @@ public function addSymbols($numberingSystem, NumberSymbolListInterface $symbolLi
$this->symbols[$numberingSystem] = $symbolList;
}

/**
* Fill missing symbols with "fallback" data
*
* For the given symbols lists, if one or several symbols are missing, they will be filled with fallback symbols
*
* @param string $numberingSystem
* The concerned numbering system
*
* @param NumberSymbolListInterface $fallbackSymbolList
* The fallback symbols list
*/
public function hydrateSymbols($numberingSystem, NumberSymbolListInterface $fallbackSymbolList)
{
if (!isset($this->symbols[$numberingSystem])) {
$this->symbols[$numberingSystem] = $fallbackSymbolList;
}

($this->symbols[$numberingSystem])->hydrate($fallbackSymbolList);
}

/**
* Get all specified symbols lists, indexed by available numbering system.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ interface NumberInterface
*/
public function addSymbols($numberingSystem, NumberSymbolListInterface $symbolList);

/**
* Fill missing symbols with "fallback" data
*
* For the given symbols lists, if one or several symbols are missing, they will be filled with fallback symbols
*
* @param string $numberingSystem
* The concerned numbering system
*
* @param NumberSymbolListInterface $fallbackSymbolList
* The fallback symbols list
*/
public function hydrateSymbols($numberingSystem, NumberSymbolListInterface $fallbackSymbolList);

/**
* Get all specified symbols lists, indexed by available numbering system.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,4 @@ public function getInfinity();
* @return string
*/
public function getNan();

/**
* Fills missing items of this list with default data
*
* @param NumberSymbolListInterface $defaultList
* Used to fill missing items
*
* @return $this
* Fluent interface
*/
public function hydrate(NumberSymbolListInterface $defaultList);
}

0 comments on commit 1f7f521

Please sign in to comment.