mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-17 01:08:41 +01:00
Fix a broken method call
Summary: The method is actually named `DivinerAtomRef::newFromDictionary`. Test Plan: `./bin/diviner generate --publisher DivinerStaticPublisher` worked a bit better. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11590
This commit is contained in:
parent
d4b78af102
commit
0c601be2b6
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ final class DivinerStaticPublisher extends DivinerPublisher {
|
|||
|
||||
$candidates = $this->atomNameMap[$name];
|
||||
foreach ($candidates as $key => $dict) {
|
||||
$candidates[$key] = DivinerAtomRef::newFromDict($dict);
|
||||
$candidates[$key] = DivinerAtomRef::newFromDictionary($dict);
|
||||
if ($ref->getType()) {
|
||||
if ($candidates[$key]->getType() != $ref->getType()) {
|
||||
unset($candidates[$key]);
|
||||
|
|
Loading…
Add table
Reference in a new issue