Skip to content

Commit 3551bc2

Browse files
committed
minor #2229 Update index.rst (ebedy)
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
2 parents d72aa7e + e7ddc1d commit 3551bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Map/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ A map is created by calling ``new Map()``. You can configure the center, zoom, a
120120
;
121121

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

0 commit comments

Comments
 (0)