Skip to content

Commit

Permalink
Merge pull request #380 from symfony-cmf/analysis-86B0Ma
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
ElectricMaxxx committed Aug 16, 2017
2 parents 85bb99a + 57f9120 commit fa5e75f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/AppBundle/DataFixtures/PHPCR/LoadMenuData.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function load(ObjectManager $manager)
{
if (!$manager instanceof DocumentManager) {
$class = get_class($manager);

throw new \RuntimeException("Fixture requires a PHPCR ODM DocumentManager instance, instance of '$class' given.");
}

Expand Down
1 change: 1 addition & 0 deletions src/AppBundle/DataFixtures/PHPCR/LoadNewsData.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function load(ObjectManager $manager)
{
if (!$manager instanceof DocumentManager) {
$class = get_class($manager);

throw new \RuntimeException("Fixture requires a PHPCR ODM DocumentManager instance, instance of '$class' given.");
}

Expand Down
1 change: 1 addition & 0 deletions src/AppBundle/DataFixtures/PHPCR/LoadRoutingData.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public function load(ObjectManager $manager)
{
if (!$manager instanceof DocumentManager) {
$class = get_class($manager);

throw new \RuntimeException("Fixture requires a PHPCR ODM DocumentManager instance, instance of '$class' given.");
}

Expand Down
1 change: 1 addition & 0 deletions src/AppBundle/DataFixtures/PHPCR/LoadStaticPageData.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function load(ObjectManager $manager)
{
if (!$manager instanceof DocumentManager) {
$class = get_class($manager);

throw new \RuntimeException("Fixture requires a PHPCR ODM DocumentManager instance, instance of '$class' given.");
}

Expand Down

0 comments on commit fa5e75f

Please sign in to comment.