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

Commit d962b71

Browse files
author
Etienne Lamoureux
committed
Fixed namespaces
1 parent 8a5df20 commit d962b71

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"autoload": {
2222
"psr-4": {
23-
"Crystalgorithm\\DurmandScriptorium\\": "src/"
23+
"Crystalgorithm\\PhpJsonIterator\\": "src/"
2424
}
2525
},
2626
"extra": {

src/JsonIteratorFactory.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
*/
88
namespace Crystalgorithm\PhpJsonIterator;
99

10+
use Crystalgorithm\PhpJsonIterator\iterator\JsonFileIterator;
11+
use Crystalgorithm\PhpJsonIterator\iterator\JsonFilesIterator;
12+
use Crystalgorithm\PhpJsonIterator\iterator\JsonIterator;
13+
1014
class JsonIteratorFactory
1115
{
1216

@@ -17,7 +21,7 @@ public static function buildJsonIterator($json, array $options = null)
1721

1822
public static function buildJsonFileIterator($jsonFileHandle, array $options = null)
1923
{
20-
return new JsonFilesIterator($jsonFileHandle, $options);
24+
return new JsonFileIterator($jsonFileHandle, $options);
2125
}
2226

2327
public static function buildJsonFilesIterator($jsonFileHandles, array $options = null)

src/iterator/JsonFileIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @copyright 2014 Etienne Lamoureux
66
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
77
*/
8-
namespace Crystalgorithm\DurmandScriptorium\utils;
8+
namespace Crystalgorithm\PhpJsonIterator\iterator;
99

1010
class JsonFileIterator extends JsonIterator
1111
{

src/iterator/JsonFilesIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @copyright 2014 Etienne Lamoureux
66
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
77
*/
8-
namespace Crystalgorithm\DurmandScriptorium\utils;
8+
namespace Crystalgorithm\PhpJsonIterator\iterator;
99

1010
use AppendIterator;
1111

0 commit comments

Comments
 (0)