We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a1e097 commit 708ae2eCopy full SHA for 708ae2e
src/Bridges/SecurityDI/SecurityExtension.php
@@ -41,8 +41,8 @@ public function getConfigSchema(): Nette\Schema\Schema
41
])->castTo('array')
42
)
43
),
44
- 'roles' => Expect::arrayOf('string'), // role => parent(s)
45
- 'resources' => Expect::arrayOf('string'), // resource => parent
+ 'roles' => Expect::arrayOf('string|array|null'), // role => parent(s)
+ 'resources' => Expect::arrayOf('string|null'), // resource => parent
46
]);
47
}
48
0 commit comments