Skip to content

Commit

Permalink
Fixed wrong parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemistr committed Mar 27, 2015
1 parent c5f48ee commit f7ffe5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/l10n/Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ class Translator {

/**
* @param \l10n\Plural\IPlural $plural
* @param \l10n\Translator\IStorage $loader
* @param \l10n\Translator\IStorage $storage
*/
public function __construct(IPlural $plural, IStorage $loader = null) {
public function __construct(IPlural $plural, IStorage $storage = null) {
$this->plural = $plural;

if ($loader) {
$this->storage = $loader;
if ($storage) {
$this->storage = $storage;
$this->storage->load($this);
}
}
Expand Down

0 comments on commit f7ffe5b

Please sign in to comment.