1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Fix an issue with ClassMap handling of DivinerAtomizers

Fixes T9193.
This commit is contained in:
epriestley 2015-08-15 06:59:18 -07:00
parent 3a6c3cc5ca
commit 8692f4857b

View file

@ -420,9 +420,10 @@ final class DivinerGenerateWorkflow extends DivinerWorkflow {
$atomizer_versions = array(); $atomizer_versions = array();
foreach ($atomizers as $atomizer) { foreach ($atomizers as $atomizer) {
$atomizer_versions[$atomizer['name']] = call_user_func( $name = get_class($atomizer);
$atomizer_versions[$name] = call_user_func(
array( array(
$atomizer['name'], $name,
'getAtomizerVersion', 'getAtomizerVersion',
)); ));
} }