Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI (#222)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
dbu authored Dec 13, 2017
1 parent 8ac1db9 commit e8140f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Adapter/PhpcrOdmAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class PhpcrOdmAdapter implements AdapterInterface
const TAG_NO_MULTILANG = 'no-multilang';

protected $dm;

protected $baseRoutePath;

protected $autoRouteFqcn;

/**
Expand Down Expand Up @@ -215,7 +217,7 @@ public function compareAutoRouteLocale(AutoRouteInterface $autoRoute, $locale)
{
$autoRouteLocale = $autoRoute->getLocale();

if ($autoRouteLocale === self::TAG_NO_MULTILANG) {
if (self::TAG_NO_MULTILANG === $autoRouteLocale) {
$autoRouteLocale = null;
}

Expand Down
4 changes: 4 additions & 0 deletions tests/Unit/Adapter/PhpcrOdmAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ class PhpcrOdmAdapterTest extends \PHPUnit_Framework_TestCase
private $metadata;

private $contentDocument;

private $contentDocument2;

private $baseNode;

private $parentRoute;

/**
Expand All @@ -62,6 +65,7 @@ class PhpcrOdmAdapterTest extends \PHPUnit_Framework_TestCase
* @var NodeInterface|ObjectProphecy
*/
private $phpcrRootNode;

private $baseRoutePath;

/**
Expand Down

0 comments on commit e8140f7

Please sign in to comment.