Skip to content

Commit

Permalink
minor #2229 Update index.rst (ebedy)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.x branch.

Discussion
----------

Update index.rst

Correction du nom de la variable $map -> $myMap

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Issues        |
| License       | MIT

<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - For new features, provide some code snippets to help understand usage.
 - Features and deprecations must be submitted against branch main.
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
 - Never break backward compatibility (see https://symfony.com/bc).
-->

Commits
-------

e7ddc1d Update index.rst
  • Loading branch information
javiereguiluz committed Oct 2, 2024
2 parents d72aa7e + e7ddc1d commit 3551bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Map/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ A map is created by calling ``new Map()``. You can configure the center, zoom, a
;

// 3. You can also add Polygons, which represents an area enclosed by a series of `Point` instances
$map->addPolygon(new Polygon(
$myMap->addPolygon(new Polygon(
points: [
new Point(48.8566, 2.3522),
new Point(45.7640, 4.8357),
Expand Down

0 comments on commit 3551bc2

Please sign in to comment.