Skip to content

Commit

Permalink
Update doc blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 6, 2014
1 parent 2059ac8 commit 6262b72
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/I18n/ChainMessagesLoader.php
Expand Up @@ -17,8 +17,8 @@
use Aura\Intl\Package;

/**
* Wraps multiple messages loaders calling them one after another until
* one of them returns an non-empty package
* Wraps multiple message loaders calling them one after another until
* one of them returns a non-empty package.
*
*/
class ChainMessagesLoader {
Expand All @@ -41,7 +41,7 @@ public function __construct(array $loaders) {
}

/**
* Executes this object for returning the translations package as configured in
* Executes this object returning the translations package as configured in
* the chain.
*
* @return \Aura\Intl\Package
Expand All @@ -57,7 +57,6 @@ public function __invoke() {
}

$package = $loader();

if (!$package) {
continue;
}
Expand All @@ -73,7 +72,6 @@ public function __invoke() {
return $package;
}
}

return new Package;
}

Expand Down

0 comments on commit 6262b72

Please sign in to comment.