Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix wrong quote in used in docs #130

Merged
merged 1 commit into from
Jul 29, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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