Skip to content

Commit

Permalink
Merge pull request #2 from alpixel/analysis-XpegWa
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
benjamin-hubert committed Feb 19, 2016
2 parents 6933e07 + 03922cc commit 20cff00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DataFixtures/ORM/LoadMenuData.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Alpixel\Bundle\MenuBundle\DataFixtures\ORM;

use Alpixel\Bundle\MenuBundle\Entity\Menu;
use Alpixel\Bundle\MenuBundle\Entity\Item;
use Alpixel\Bundle\MenuBundle\Entity\Menu;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\FixtureInterface;
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
Expand All @@ -16,9 +16,9 @@ public function load(ObjectManager $manager)
$menu = new Menu();
$menu->setMachineName('main');
$menu->setName('Menu principal');
$menu->setLocale('fr');
$menu->setLocale('fr');

$item = new Item;
$item = new Item();
$item->setUri('/');
$item->setName('Homepage');

Expand Down
3 changes: 2 additions & 1 deletion Entity/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ public function addItems(ArrayCollection $items)
return $this;
}


/**
* Set items for the menu.
*
* @deprecated
*
* @param null\ItemInterface $item
*
* @return Item
Expand Down

0 comments on commit 20cff00

Please sign in to comment.