Skip to content

Commit 0b6b13a

Browse files
author
apetitpa
committed
Fix a minor typo error
Replace method getRandomPostTiles by getRandomPostTitles
1 parent 16b1833 commit 0b6b13a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AppBundle/DataFixtures/ORM/PostFixtures.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class PostFixtures extends AbstractFixture implements DependentFixtureInterface,
4141
*/
4242
public function load(ObjectManager $manager)
4343
{
44-
foreach ($this->getRandomPostTiles() as $i => $title) {
44+
foreach ($this->getRandomPostTitles() as $i => $title) {
4545
$post = new Post();
4646

4747
$post->setTitle($title);
@@ -184,7 +184,7 @@ private function getPhrases()
184184
];
185185
}
186186

187-
private function getRandomPostTiles()
187+
private function getRandomPostTitles()
188188
{
189189
$phrases = $this->getPhrases();
190190

0 commit comments

Comments
 (0)