Skip to content

Commit 6ca369f

Browse files
authored
Remove the internal tag from Core classes used in other packages (#1486)
1 parent 57ff962 commit 6ca369f

16 files changed

+7
-45
lines changed

src/Core/src/AwsError/AwsError.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
namespace AsyncAws\Core\AwsError;
44

5-
/**
6-
* @internal
7-
*/
85
final class AwsError
96
{
107
/**

src/Core/src/AwsError/AwsErrorFactoryFromResponseTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
use Symfony\Contracts\HttpClient\ResponseInterface;
66

7-
/**
8-
* @internal
9-
*/
107
trait AwsErrorFactoryFromResponseTrait
118
{
129
public function createFromResponse(ResponseInterface $response): AwsError

src/Core/src/AwsError/AwsErrorFactoryInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
use Symfony\Contracts\HttpClient\ResponseInterface;
66

7-
/**
8-
* @internal
9-
*/
107
interface AwsErrorFactoryInterface
118
{
129
public function createFromResponse(ResponseInterface $response): AwsError;

src/Core/src/AwsError/JsonRestAwsErrorFactory.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
use AsyncAws\Core\Exception\UnexpectedValue;
66
use AsyncAws\Core\Exception\UnparsableResponse;
77

8-
/**
9-
* @internal
10-
*/
11-
class JsonRestAwsErrorFactory implements AwsErrorFactoryInterface
8+
final class JsonRestAwsErrorFactory implements AwsErrorFactoryInterface
129
{
1310
use AwsErrorFactoryFromResponseTrait;
1411

src/Core/src/AwsError/JsonRpcAwsErrorFactory.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
use AsyncAws\Core\Exception\UnexpectedValue;
66
use AsyncAws\Core\Exception\UnparsableResponse;
77

8-
/**
9-
* @internal
10-
*/
11-
class JsonRpcAwsErrorFactory implements AwsErrorFactoryInterface
8+
final class JsonRpcAwsErrorFactory implements AwsErrorFactoryInterface
129
{
1310
use AwsErrorFactoryFromResponseTrait;
1411

src/Core/src/AwsError/XmlAwsErrorFactory.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
use AsyncAws\Core\Exception\UnexpectedValue;
77
use AsyncAws\Core\Exception\UnparsableResponse;
88

9-
/**
10-
* @internal
11-
*/
12-
class XmlAwsErrorFactory implements AwsErrorFactoryInterface
9+
final class XmlAwsErrorFactory implements AwsErrorFactoryInterface
1310
{
1411
use AwsErrorFactoryFromResponseTrait;
1512

src/Core/src/Input.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
* Representation of a AWS Request.
77
*
88
* @author Jérémy Derussé <jeremy@derusse.com>
9-
*
10-
* @internal
119
*/
1210
abstract class Input
1311
{

src/Core/src/Request.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
* Representation of an HTTP Request.
1010
*
1111
* @author Jérémy Derussé <jeremy@derusse.com>
12-
*
13-
* @internal
1412
*/
15-
class Request
13+
final class Request
1614
{
1715
/**
1816
* @var string

src/Core/src/RequestContext.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
* Contains contextual information alongside a request.
1010
*
1111
* @author Jérémy Derussé <jeremy@derusse.com>
12-
*
13-
* @internal
1412
*/
15-
class RequestContext
13+
final class RequestContext
1614
{
1715
public const AVAILABLE_OPTIONS = [
1816
'region' => true,

src/Core/src/Response.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@
3131
* The response provides a facade to manipulate HttpResponses.
3232
*
3333
* @author Jérémy Derussé <jeremy@derusse.com>
34-
*
35-
* @internal
3634
*/
37-
class Response
35+
final class Response
3836
{
3937
/**
4038
* @var ResponseInterface

src/Core/src/Signer/SigningContext.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
use AsyncAws\Core\Request;
66

77
/**
8-
* @internal
9-
*
108
* @author Jérémy Derussé <jeremy@derusse.com>
119
*/
12-
class SigningContext
10+
final class SigningContext
1311
{
1412
/**
1513
* @var Request

src/Core/src/Stream/FixedSizeStream.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* A Stream decorator that return Chunk with the same exact size.
99
*
1010
* @author Jérémy Derussé <jeremy@derusse.com>
11-
*
12-
* @internal
1311
*/
1412
final class FixedSizeStream implements RequestStream
1513
{

src/Core/src/Stream/IterableStream.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* Convert an iterator into a Stream.
99
*
1010
* @author Jérémy Derussé <jeremy@derusse.com>
11-
*
12-
* @internal
1311
*/
1412
final class IterableStream implements ReadOnceResultStream, RequestStream
1513
{

src/Core/src/Stream/ReadOnceResultStream.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Marker for ResultStream that can be read only once.
9-
*
10-
* @internal
119
*/
1210
interface ReadOnceResultStream
1311
{

src/Core/src/Stream/RequestStream.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
*
88
* @author Jérémy Derussé <jeremy@derusse.com>
99
*
10-
* @internal
11-
*
1210
* @extends \IteratorAggregate<string>
1311
*/
1412
interface RequestStream extends \IteratorAggregate

src/Core/src/Stream/RewindableStream.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
* - hash
1313
*
1414
* @author Jérémy Derussé <jeremy@derusse.com>
15-
*
16-
* @internal
1715
*/
1816
final class RewindableStream implements RequestStream
1917
{

0 commit comments

Comments
 (0)