Arrays in param configs officially not supported #178
Closed
spaze
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
allowParam*
,allowExceptParam*
etc.) not supported at the moment (Arrays in param configs not supported at the moment #177, Test calling and disallowing a function when itsdisallowedParam
isarray|string|null
#165 thanks @mad-briller)They never were and now it's official. It means that you can't for example allow a method call when a parameter (
$message
in the case below) would be an array:This would mean that
Logger::log()
would be allowed only when it would be called likeLogger::log(['foo', 'bar'])
. And allowing that is not supported at the moment, only scalar values may be used invalue:
. It may change in the future though.Also some internal changes too tiny to even list here:
{Foo,Bar,Baz}::call()
is done in one place only (d598c89)This discussion was created from the release Arrays in param configs officially not supported.
Beta Was this translation helpful? Give feedback.
All reactions