Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemistr committed Mar 28, 2015
1 parent 5921871 commit c13e5bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/l10n/Translator/IStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
namespace l10n\Translator;

interface IStorage {
/**
* @param \l10n\Translator\Translator $translator
* @return void
*/
public function load(Translator $translator);

/**
* @param \l10n\Translator\Translator $translator
* @return void
*/
public function save(Translator $translator);
}
4 changes: 2 additions & 2 deletions src/l10n/Translator/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class Translator {
protected $storage;

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

0 comments on commit c13e5bc

Please sign in to comment.