Skip to content

Commit

Permalink
Merge pull request #5 from zachleigh/analysis-qM3jdO
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
zachleigh authored Nov 1, 2016
2 parents c6f4877 + 5d75930 commit 733f87b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Bundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function getValuesArray()
/**
* Return true if bundle contains no trans values.
*
* @return boolean
* @return bool
*/
public function hasNoValues()
{
Expand Down
4 changes: 2 additions & 2 deletions src/BundleMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function getAutoAliases()
/**
* Return true if bundleMap is empty.
*
* @return boolean
* @return bool
*/
public function bundleMapIsEmpty()
{
Expand All @@ -60,7 +60,7 @@ public function bundleMapIsEmpty()
public function getBundleValues(array $pathKeys)
{
$this->mapBundles();

$temp = &$this->bundleMap;

foreach ($pathKeys as $key) {
Expand Down
4 changes: 2 additions & 2 deletions src/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function getParameters()
* Set only valid parameters. If namespaced, only parameters with
* translation namespace will be set.
*
* @param array $parameters
* @param array $parameters
*/
public function setParameters($parameters)
{
Expand All @@ -99,7 +99,7 @@ public function setParameters($parameters)

if (count($keyArray) === 2 && $keyArray[0] === $this->getNamespace()) {
$key = $keyArray[1];
} else if (count($keyArray) === 2 && $keyArray[0] !== $this->getNamespace()) {
} elseif (count($keyArray) === 2 && $keyArray[0] !== $this->getNamespace()) {
return;
}

Expand Down
1 change: 0 additions & 1 deletion tests/Unit/TranslationUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace LaravelLangBundler\tests\Unit;

use LaravelLangBundler\Bundle;
use LaravelLangBundler\Translation;
use LaravelLangBundler\tests\TestCase;
use LaravelLangBundler\tests\stubs\ExpectedResults;

Expand Down

0 comments on commit 733f87b

Please sign in to comment.