Skip to content

Commit 4fb3c7a

Browse files
seriyf3ath
authored andcommitted
Add "@internal" annotation to attachTo() (#94)
1 parent 2338d0f commit 4fb3c7a

35 files changed

+40
-2
lines changed

examples/compound_doc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
new SelfLink('http://example.com/comments/5'),
3535
new ToOne('author', new ResourceIdentifier('people', '2'))
3636
);
37+
3738
$comment12 = new ResourceObject(
3839
'comments',
3940
'12',

src/Attribute.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(string $name, $val)
2222

2323
/**
2424
* @param object $o
25+
* @internal
2526
*/
2627
public function attachTo($o): void
2728
{

src/EmptyRelationship.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function __construct(string $name, RelationshipMember $member, Relationsh
2323

2424
/**
2525
* @param object $o
26+
* @internal
2627
*/
2728
public function attachTo($o): void
2829
{

src/Error.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function __construct(ErrorMember ...$members)
2323

2424
/**
2525
* @param object $o
26+
* @internal
2627
*/
2728
public function attachTo($o): void
2829
{

src/Error/Code.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function __construct(string $code)
2121

2222
/**
2323
* @param object $o
24+
* @internal
2425
*/
2526
public function attachTo($o): void
2627
{

src/Error/Detail.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function __construct(string $detail)
2121

2222
/**
2323
* @param object $o
24+
* @internal
2425
*/
2526
public function attachTo($o): void
2627
{

src/Error/Id.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function __construct(string $id)
2121

2222
/**
2323
* @param object $o
24+
* @internal
2425
*/
2526
public function attachTo($o): void
2627
{

src/Error/SourceParameter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(string $parameter)
2222

2323
/**
2424
* @param object $o
25+
* @internal
2526
*/
2627
public function attachTo($o): void
2728
{

src/Error/SourcePointer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function __construct(string $pointer)
1919

2020
/**
2121
* @param object $o
22+
* @internal
2223
*/
2324
public function attachTo($o): void
2425
{

src/Error/Status.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function __construct(string $status)
2121

2222
/**
2323
* @param object $o
24+
* @internal
2425
*/
2526
public function attachTo($o): void
2627
{

0 commit comments

Comments
 (0)