Skip to content

Commit bea94e8

Browse files
committed
lint
1 parent a86be15 commit bea94e8

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

src/Map/src/Bridge/Google/assets/src/map_controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ export default class extends AbstractMapController<
188188
}
189189

190190
if (icon) {
191-
if (Object.prototype.hasOwnProperty.call(bridgeOptions, 'content')) {
191+
if (Object.hasOwn(bridgeOptions, 'content')) {
192192
console.warn('[Symfony UX Map] Defining "bridgeOptions.content" for a marker with a custom icon is not supported and will be ignored.');
193-
} else if (Object.prototype.hasOwnProperty.call(rawOptions, 'content')) {
193+
} else if (Object.hasOwn(rawOptions, 'content')) {
194194
console.warn('[Symfony UX Map] Defining "rawOptions.content" for a marker with a custom icon is not supported and will be ignored.');
195195
}
196196

src/Map/src/Bridge/Leaflet/assets/src/map_controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ export default class extends AbstractMapController<
154154
}
155155

156156
if (icon) {
157-
if (Object.prototype.hasOwnProperty.call(bridgeOptions, 'icon')) {
157+
if (Object.hasOwn(bridgeOptions, 'icon')) {
158158
console.warn('[Symfony UX Map] Defining "bridgeOptions.icon" for a marker with a custom icon is not supported and will be ignored.');
159-
} else if (Object.prototype.hasOwnProperty.call(rawOptions, 'icon')) {
159+
} else if (Object.hasOwn(rawOptions, 'icon')) {
160160
console.warn('[Symfony UX Map] Defining "rawOptions.icon" for a marker with a custom icon is not supported and will be ignored.');
161161
}
162162

src/Toolkit/kits/shadcn/dialog/manifest.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"templates/": "templates/"
99
},
1010
"dependencies": {
11-
"composer": ["symfony/ux-icons", "twig/extra-bundle", "twig/html-extra:^3.12.0", "tales-from-a-dev/twig-tailwind-extra"]
11+
"composer": [
12+
"symfony/ux-icons",
13+
"twig/extra-bundle",
14+
"twig/html-extra:^3.12.0",
15+
"tales-from-a-dev/twig-tailwind-extra"
16+
]
1217
}
1318
}

0 commit comments

Comments
 (0)