Permalink
Browse files

Corrections oubliees

  • Loading branch information...
1 parent f45a881 commit 882a2672f77ba8e7c881d92219b64ffc1d1f8ac8 @Orkin committed Nov 21, 2012
View
@@ -38,17 +38,17 @@ class Module implements
public function onBootstrap(EventInterface $e)
{
/* @var $app \Zend\Mvc\ApplicationInterface */
- $app = $e->getTarget();
+ $app = $e->getTarget();
$events = $app->getEventManager();
// Attach to helper set event and load the entity manager helper.
$events->attach('addPost.post', function(EventInterface $e) {
/* @var $threadService \ZfrForum\Service\ThreadService */
$threadService = $e->getTarget();
- $params = $e->getParams();
- $user = $params['user'];
- $thread = $params['thread'];
+ $params = $e->getParams();
+ $user = $params['user'];
+ $thread = $params['thread'];
$threadService->track($user, $thread);
});
@@ -27,7 +27,7 @@
* @param CategoryTracking $categoryTracking
* @return CategoryTracking
*/
- public function add(CategoryTracking $categoryTracking);
+ public function create(CategoryTracking $categoryTracking);
/**
* @param CategoryTracking $categoryTracking
@@ -28,7 +28,7 @@ class CategoryTrackingRepository extends EntityRepository implements CategoryTra
* @param CategoryTracking $categoryTracking
* @return CategoryTracking
*/
- public function add(CategoryTracking $categoryTracking)
+ public function create(CategoryTracking $categoryTracking)
{
// TODO: Implement add() method.
}

0 comments on commit 882a267

Please sign in to comment.