Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
snorkel
· 14y ago · 0 comments
Don't need to inline the function, it could instead just be a reference to static member of the same class: ... 'nullable' => self::getNullable, ...
Comments
[–]
pierredup
14y ago
'nullable' => self::getNullable
also won't work in any version of PHP