Permalink
Browse files

Merge pull request #38 from bakura10/typos

Oubli de typehint
  • Loading branch information...
2 parents 2eebdc8 + 7e4f68c commit 77eb1509d635c371be75737f079a7e8ce6838d8b @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 77eb150

Please sign in to comment.