diff --git a/src/AppBundle/DataFixtures/ORM/PostFixtures.php b/src/AppBundle/DataFixtures/ORM/PostFixtures.php index 9dc9b98e6..ffc495dee 100644 --- a/src/AppBundle/DataFixtures/ORM/PostFixtures.php +++ b/src/AppBundle/DataFixtures/ORM/PostFixtures.php @@ -41,7 +41,7 @@ class PostFixtures extends AbstractFixture implements DependentFixtureInterface, */ public function load(ObjectManager $manager) { - foreach ($this->getRandomPostTiles() as $i => $title) { + foreach ($this->getRandomPostTitles() as $i => $title) { $post = new Post(); $post->setTitle($title); @@ -184,7 +184,7 @@ private function getPhrases() ]; } - private function getRandomPostTiles() + private function getRandomPostTitles() { $phrases = $this->getPhrases();