Skip to content

Commit

Permalink
Merge pull request #130 from youngguns-nl/datatime_doc
Browse files Browse the repository at this point in the history
fix wrong quote in used in docs
  • Loading branch information
schmittjoh committed Jul 29, 2013
2 parents af613f8 + 9a7feae commit 9e0fcd0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions doc/reference/annotations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ by the object iself.
.. code-block :: php
<?php
class Article
{
/**
Expand Down Expand Up @@ -275,10 +275,10 @@ Available Types:
+---------------------------+--------------------------------------------------+
| DateTime | PHP's DateTime object (default format/timezone) |
+---------------------------+--------------------------------------------------+
| DateTime<"format"> | PHP's DateTime object (custom format/default |
| DateTime<'format'> | PHP's DateTime object (custom format/default |
| | timezone) |
+---------------------------+--------------------------------------------------+
| DateTime<"format", "zone">| PHP's DateTime object (custom format/timezone) |
| DateTime<'format', 'zone'>| PHP's DateTime object (custom format/timezone) |
+---------------------------+--------------------------------------------------+
| T | Where T is a fully qualified class name. |
+---------------------------+--------------------------------------------------+
Expand Down Expand Up @@ -321,6 +321,11 @@ Examples:
*/
private $createdAt;
/**
* @Type("DateTime<'Y-m-d'>")
*/
private $updatedAt;
/**
* @Type("boolean")
*/
Expand Down

0 comments on commit 9e0fcd0

Please sign in to comment.