1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-22 19:49:02 +01:00

Fix a constant typo in Diviner ("DECLARATAION" -> "TION")

Summary: Fixes T12351. This got typo'd in D17377.

Test Plan: `bin/diviner generate --clean --book src/docs/book/phabricator.book`

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12351

Differential Revision: https://secure.phabricator.com/D17460
This commit is contained in:
epriestley 2017-03-04 07:15:55 -08:00
parent f2e013c2e9
commit d5baf2fe37

View file

@ -128,7 +128,7 @@ final class DivinerPHPAtomizer extends DivinerAtomizer {
private function parseParams(DivinerAtom $atom, AASTNode $func) {
$params = $func
->getChildOfType(3, 'n_DECLARATAION_PARAMETER_LIST')
->getChildOfType(3, 'n_DECLARATION_PARAMETER_LIST')
->selectDescendantsOfType('n_DECLARATION_PARAMETER');
$param_spec = array();