Skip to content

Commit 8ab6a65

Browse files
committed
fixed namespaces
1 parent c190dd6 commit 8ab6a65

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

src/BiHashTable.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
22

3-
use SupportedGeometries\Edge;
4-
use SupportedGeometries\Point;
3+
namespace SpatialHashTable;
4+
5+
use SpatialHashTable\SupportedGeometries\Edge;
6+
use SpatialHashTable\SupportedGeometries\Point;
57

68
class BiHashTable
79
{

src/SupportedGeometries/Edge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 8:13 PM
77
*/
88

9-
namespace SupportedGeometries;
9+
namespace SpatialHashTable\SupportedGeometries;
1010

1111
class Edge
1212
{

src/SupportedGeometries/Point.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 8:17 PM
77
*/
88

9-
namespace SupportedGeometries;
9+
namespace SpatialHashTable\SupportedGeometries;
1010

1111

1212
class Point

test.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
require_once "src/SupportedGeometries/Edge.php";
1010
require_once "src/SupportedGeometries/Point.php";
1111

12-
use SupportedGeometries\Edge;
13-
use SupportedGeometries\Point;
12+
use SpatialHashTable\BiHashTable;
13+
use SpatialHashTable\SupportedGeometries\Edge;
14+
use SpatialHashTable\SupportedGeometries\Point;
1415

1516

1617
$b = new BiHashTable(1);

0 commit comments

Comments
 (0)