From b6947976d760fef2317770997cd718c1a9c625ea Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Thu, 1 Aug 2019 17:00:07 -0700 Subject: [PATCH] Fix lint in golden PHP generator. Causing tests to fail. --- tests/generators/golden/generated.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/generators/golden/generated.php b/tests/generators/golden/generated.php index 0cd270bf6..a2d470de4 100644 --- a/tests/generators/golden/generated.php +++ b/tests/generators/golden/generated.php @@ -778,7 +778,7 @@ function text_get_substring($text, $where1, $at1, $where2, $at2) { $at1 = strlen($text) - 1 - $at1; } else if ($where1 == 'FIRST') { $at1 = 0; - } else if ($where1 != 'FROM_START'){ + } else if ($where1 != 'FROM_START') { throw new Exception('Unhandled option (text_get_substring).'); } $length = 0; @@ -1296,7 +1296,7 @@ function lists_get_sublist($list, $where1, $at1, $where2, $at2) { $at1 = count($list) - 1 - $at1; } else if ($where1 == 'FIRST') { $at1 = 0; - } else if ($where1 != 'FROM_START'){ + } else if ($where1 != 'FROM_START') { throw new Exception('Unhandled option (lists_get_sublist).'); } $length = 0;