Skip to content

Commit

Permalink
Fixing 2 code typos thanks to Mihail Bashliy in the comments!
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Apr 8, 2015
1 parent ddfbd01 commit 1554468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions knpu/episode3/doctrine-listener.rst
Expand Up @@ -201,7 +201,7 @@ new constructor arugment in ``services.yml``:
services:
doctrine.user_listener:
class: Yoda\UserBundle\Doctrine\UserListener
arugments: ["@security.encoder_factory"]
arguments: ["@security.encoder_factory"]
tags:
- { name: doctrine.event_listener, event: prePersist }
Expand All @@ -219,7 +219,7 @@ the plain password instead::

// ...
// $admin->setPassword($this->encodePassword($admin, 'waynepass'));
$user->setPlainPassword('waynepass');
$admin->setPlainPassword('waynepass');
}

Reload the fixtures again!
Expand Down

0 comments on commit 1554468

Please sign in to comment.