Skip to content

Commit

Permalink
bug #12975 [Docs] fix annotations (SirDomin)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.9 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.9,
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets |
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

b1b4690 [Docs] fix annotations
  • Loading branch information
lchrusciel committed Aug 18, 2021
2 parents 2107343 + b1b4690 commit 407be13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/performance/database-indexes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In this file, add indexes attribute into the table configuration:

.. code-block:: php
`@ORM\Table(name="customer", indexes={@ORM\Index(name="created_at_index", fields={"created_at"})})`.
`@ORM\Table(name="customer", indexes={@ORM\Index(name="created_at_index", columns={"created_at"})})`.
Your class should now look like this:

Expand All @@ -28,7 +28,7 @@ Your class should now look like this:
/**
* @ORM\Entity
* @ORM\Table(name="customer",indexes={@Index(name="created_at_index", fields={"created_at"})})
* @ORM\Table(name="customer",indexes={@ORM\Index(name="created_at_index", columns={"created_at"})})
*/
class Customer extends BaseCustomer
{
Expand Down

0 comments on commit 407be13

Please sign in to comment.