Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit f8087a1

Browse files
Rename JsonIterator#needleFactory
1 parent 070f489 commit f8087a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Iterators/JsonIterator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct($jsonString, array $options = null)
2222
$this->jsonString = $jsonString;
2323

2424
$this->setDefaultOptions($options);
25-
$this->needleFactory($options['firstTopLevelString']);
25+
$this->buildNeedle($options['firstTopLevelString']);
2626

2727
if ($options['jsonHasSquareBrackets'])
2828
{
@@ -79,7 +79,7 @@ public function valid()
7979
return true;
8080
}
8181

82-
protected function needleFactory($firstTopLevelString = null)
82+
protected function buildNeedle($firstTopLevelString = null)
8383
{
8484
$this->needle = ',{';
8585

0 commit comments

Comments
 (0)