diff --git a/data/bibleStructure.php b/data/bibleStructure.php index 7fc89a78a8593efbb15c6770eb7723726dac4316..c4e188be193be0a98a207cf35c1aa4583ab90ccc 100644 --- a/data/bibleStructure.php +++ b/data/bibleStructure.php @@ -1430,7 +1430,7 @@ return [ 'number' => 47, 'name' => '1 Corinthians', 'identifier' => '1CO', - 'abbreviations' => ['1 cor', 'i cor', '1st cor', 'first cor', 'i corinthians', '1st corinthians', 'first corinthians', '1 co', 'i co', '1st co', 'first co',], + 'abbreviations' => ['1 cor', 'i cor', '1st cor', 'first cor', 'i corinthians', '1st corinthians', 'first corinthians', '1 co', 'i co', '1st co', 'first co'], 'chapterStructure' => [ 1 => 31, 2 => 16, @@ -1454,7 +1454,7 @@ return [ 'number' => 48, 'name' => '2 Corinthians', 'identifier' => '2CO', - 'abbreviations' => ['2 cor', 'ii cor', '2nd cor', 'second cor', 'ii corinthians', '2nd corinthians', 'second corinthians', '2 co', 'ii co', '2nd co', 'second co',], + 'abbreviations' => ['2 cor', 'ii cor', '2nd cor', 'second cor', 'ii corinthians', '2nd corinthians', 'second corinthians', '2 co', 'ii co', '2nd co', 'second co'], 'chapterStructure' => [ 1 => 24, 2 => 17, diff --git a/src/BiblePassageParser.php b/src/BiblePassageParser.php index 1c1593d747cf02306d023f1b593ea6f3267e3c6a..b1ae2691398c65efc65e87005d369e6aeaebd801 100644 --- a/src/BiblePassageParser.php +++ b/src/BiblePassageParser.php @@ -24,8 +24,6 @@ class BiblePassageParser /** * @param array|null $structure * @param string[]|null $separators - * @param NumberingType $numberingType - * @param bool $lettersAreFragments */ public function __construct( ?array $structure = null, diff --git a/tests/PassageJsonSerialiseTest.php b/tests/PassageJsonSerialiseTest.php index 79bf5219b1e72bd336c48196e5e33e156c2b1b46..bc8471a934c153b260102d503a5c11a4e286b8e4 100644 --- a/tests/PassageJsonSerialiseTest.php +++ b/tests/PassageJsonSerialiseTest.php @@ -125,16 +125,16 @@ class PassageJsonSerialiseTest extends TestCase $expected = [ 'from' => [ - 'book' => $from[0], - 'chapter' => $from[1], - 'verse' => $from[2], - 'fragment' => $from[3] ?? '', + 'book' => $from[0], + 'chapter' => $from[1], + 'verse' => $from[2], + 'fragment' => $from[3] ?? '', ], 'to' => [ 'book' => $to[0], - 'chapter' => $to[1], - 'verse' => $to[2], - 'fragment' => $to[3] ?? '', + 'chapter' => $to[1], + 'verse' => $to[2], + 'fragment' => $to[3] ?? '', ], ];