Skip to content

Commit ad6c530

Browse files
committed
Fix entityMapping schema definition
1 parent 47351e4 commit ad6c530

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

extension.neon

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ parameters:
2828
parametersSchema:
2929
drupal: structure([
3030
drupal_root: string()
31-
entityMapping: arrayOf(
31+
entityMapping: arrayOf(anyOf(
3232
structure([
3333
class: string()
34-
storage: schema(string(), nullable())
34+
]),
35+
structure([
36+
class: string()
37+
storage: string()
3538
])
36-
)
39+
))
3740
])
3841
rules:
3942
- mglaman\PHPStanDrupal\Rules\Classes\PluginManagerInspectionRule

0 commit comments

Comments
 (0)