Fixed typo in parameter type name

DataTime -> DateTime

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
This commit is contained in:
Polonkai Gergely 2012-08-28 09:43:02 +02:00
parent e0f5d7ee75
commit efedfa0432

View File

@ -208,7 +208,7 @@ class BlogPost
* @param DateTime $createdAt
* @return BlogPost
*/
public function setCreatedAt(\DataTime $createdAt)
public function setCreatedAt(\DateTime $createdAt)
{
// TODO: Check if not null!
$this->createdAt = $createdAt;