Permalink
Browse files

Oubli de typehint

  • Loading branch information...
1 parent 2eebdc8 commit 7e4f68cc2d49cd115e02717d6499f121d8d56e97 @bakura10 bakura10 committed Nov 22, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 src/ZfrForum/Entity/CategoryTracking.php
  2. +2 −1 src/ZfrForum/Entity/ThreadTracking.php
@@ -53,6 +53,7 @@ class CategoryTracking
*/
protected $markTime;
+
/**
* Constructor
*
@@ -66,7 +67,6 @@ function __construct(UserInterface $user, Category $category)
$this->markTime = new DateTime('now');
}
-
/**
* Set when all thread of the category was read
*
@@ -61,6 +61,7 @@ class ThreadTracking
*/
protected $markTime;
+
/**
* Constructor
*
@@ -101,7 +102,7 @@ public function getThread()
* @param Category $category
* @return ThreadTracking
*/
- public function setCategory($category)
+ public function setCategory(Category $category)
{
$this->category = $category;
return $this;

0 comments on commit 7e4f68c

Please sign in to comment.