Skip to content

Commit

Permalink
Add missing getter to unit formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Sep 13, 2014
1 parent 481f219 commit 5104c90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function format($number, $category, $unit, $width)

$unitBundle = $categoryBundle->get($unit);
} else {
$unitBundle = $this->resourceBundle->get(static::$widthMap[$width]);
$unitBundle = $this->resourceBundle->get(static::$widthMap[$width])->get($unit);
}

if ($unitBundle === null) {
Expand Down

0 comments on commit 5104c90

Please sign in to comment.