Skip to content

Commit 3a749b3

Browse files
committed
Changing some documentation points
1 parent 14ad1fd commit 3a749b3

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ You can provide a callback function to generate links or other special formattin
162162
`callback` option. The callback will be given two parameters: the string to print, and the ScripturNum object that can
163163
be used to generate the link. For example:
164164
```php
165-
$a = new ScripturNumArray(['John 3:16']);
165+
$a = new ScripturNum('John 3:16');
166166
$f = function (string $s, ScripturNum $sn) {
167167
$sc = $sn->getWholeChapters();
168168
return "<a href=\"https://www.esv.org/" . strtolower($sc->toString('abbrev')) . "\">$s</a>";

makeDocs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
echo " Complete.\n";
2121

2222

23-
echo "Creating Markdown files...";
23+
echo "Creating Markdown files...\n";
2424
$argv[1] = "docs/structure.xml";
2525
$argv[2] = "docs";
2626
$argv[3] = "--lt";

src/Bible.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ abstract class Bible
1616
protected static $BOOK_NAMES = [];
1717

1818
/**
19-
* An array containing book names that are common words in English. Must match the terms used in $BOOK_NAMES in
20-
* capitalization and spelling.
19+
* An array containing book names that are common words in English (or the used language). Must match the terms used
20+
* in $BOOK_NAMES in capitalization and spelling.
2121
*
2222
* @var string[] The array of book names, grouped by book.
2323
*/

tests/ReadmeTests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function test_zeroIndex() {
6262

6363
public function test_linkExample()
6464
{
65-
$a = new ScripturNumArray(['John 3:16']);
65+
$a = new ScripturNum('John 3:16');
6666
$f = function (string $s, ScripturNum $sn) {
6767
$sc = $sn->getWholeChapters();
6868
return "<a href=\"https://www.esv.org/" . strtolower($sc->toString('abbrev')) . "\">$s</a>";

0 commit comments

Comments
 (0)