Skip to content
Permalink
Browse files

Fixing 2 code typos thanks to Mihail Bashliy in the comments!

  • Loading branch information...
weaverryan committed Apr 8, 2015
1 parent ddfbd01 commit 155446882103452823e5efb53c77cceba971f4c5
Showing with 2 additions and 2 deletions.
  1. +2 −2 knpu/episode3/doctrine-listener.rst
@@ -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 }
@@ -219,7 +219,7 @@ the plain password instead::

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

Reload the fixtures again!

0 comments on commit 1554468

Please sign in to comment.
You can’t perform that action at this time.