Hacker News new | ask | show | jobs
by snorkel 5000 days ago
Don't need to inline the function, it could instead just be a reference to static member of the same class: ... 'nullable' => self::getNullable, ...
1 comments

'nullable' => self::getNullable

also won't work in any version of PHP