Skip to content

Commit 20c7e1a

Browse files
committed
- Fixing namespaces
1 parent 7b13b5b commit 20c7e1a

9 files changed

Lines changed: 15 additions & 15 deletions

File tree

src/IPub/JsonAPIObject/Objects/Document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use CloudCreativity\Utils\Object\StandardObject;
2020
use CloudCreativity\Utils\Object\StandardObjectInterface;
2121

22-
use Neomerx\JsonApi\Exceptions\ErrorCollection;
22+
use Neomerx\JsonApi\Schema\ErrorCollection;
2323

2424
use IPub\JsonAPIObject\Exceptions;
2525

src/IPub/JsonAPIObject/Objects/Error.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
namespace IPub\JsonAPIObject\Objects;
1818

19-
use Neomerx\JsonApi\Contracts\Document\ErrorInterface;
20-
use Neomerx\JsonApi\Contracts\Document\LinkInterface;
21-
use Neomerx\JsonApi\Document\Link;
22-
use Neomerx\JsonApi\Exceptions\ErrorCollection;
19+
use Neomerx\JsonApi\Contracts\Schema\ErrorInterface;
20+
use Neomerx\JsonApi\Contracts\Schema\LinkInterface;
21+
use Neomerx\JsonApi\Schema\Link;
22+
use Neomerx\JsonApi\Schema\ErrorCollection;
2323

2424
use IPub\JsonAPIObject\Exceptions;
2525

src/IPub/JsonAPIObject/Objects/IDocument.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
use CloudCreativity\Utils\Object\StandardObjectInterface;
2020

21-
use Neomerx\JsonApi\Contracts\Document\DocumentInterface as NeomerxDocumentInterface;
22-
use Neomerx\JsonApi\Exceptions\ErrorCollection;
21+
use Neomerx\JsonApi\Contracts\Schema\DocumentInterface as NeomerxDocumentInterface;
22+
use Neomerx\JsonApi\Schema\ErrorCollection;
2323

2424
use IPub\JsonAPIObject\Exceptions;
2525

src/IPub/JsonAPIObject/Objects/IMutableError.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
namespace IPub\JsonAPIObject\Objects;
1818

19-
use Neomerx\JsonApi\Contracts\Document\DocumentInterface;
20-
use Neomerx\JsonApi\Contracts\Document\ErrorInterface;
21-
use Neomerx\JsonApi\Contracts\Document\LinkInterface;
19+
use Neomerx\JsonApi\Contracts\Schema\DocumentInterface;
20+
use Neomerx\JsonApi\Contracts\Schema\ErrorInterface;
21+
use Neomerx\JsonApi\Contracts\Schema\LinkInterface;
2222

2323
/**
2424
* Error response interface

src/IPub/JsonAPIObject/Objects/IRelationship.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
use CloudCreativity\Utils\Object\StandardObjectInterface;
2020

21-
use Neomerx\JsonApi\Contracts\Document\DocumentInterface as NeomerxDocumentInterface;
21+
use Neomerx\JsonApi\Contracts\Schema\DocumentInterface as NeomerxDocumentInterface;
2222

2323
use IPub\JsonAPIObject\Exceptions;
2424

src/IPub/JsonAPIObject/Objects/IResourceIdentifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
use CloudCreativity\Utils\Object\StandardObjectInterface;
2020

21-
use Neomerx\JsonApi\Contracts\Document\DocumentInterface as NeomerxDocumentInterface;
21+
use Neomerx\JsonApi\Contracts\Schema\DocumentInterface as NeomerxDocumentInterface;
2222

2323
use IPub\JsonAPIObject\Exceptions;
2424

src/IPub/JsonAPIObject/Objects/IResourceObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
use CloudCreativity\Utils\Object\StandardObjectInterface;
2020

21-
use Neomerx\JsonApi\Contracts\Document\DocumentInterface as NeomerxDocumentInterface;
21+
use Neomerx\JsonApi\Contracts\Schema\DocumentInterface as NeomerxDocumentInterface;
2222

2323
use IPub\JsonAPIObject\Exceptions;
2424

src/IPub/JsonAPIObject/Objects/TIdentifiable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
namespace IPub\JsonAPIObject\Objects;
1818

19-
use Neomerx\JsonApi\Contracts\Document\DocumentInterface;
19+
use Neomerx\JsonApi\Contracts\Schema\DocumentInterface;
2020

2121
use IPub\JsonAPIObject\Exceptions;
2222

src/IPub/JsonAPIObject/Objects/TMetaMember.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use CloudCreativity\Utils\Object\StandardObject;
2020
use CloudCreativity\Utils\Object\StandardObjectInterface;
2121

22-
use Neomerx\JsonApi\Contracts\Document\DocumentInterface;
22+
use Neomerx\JsonApi\Contracts\Schema\DocumentInterface;
2323

2424
use IPub\JsonAPIObject\Exceptions;
2525

0 commit comments

Comments
 (0)