diff --git a/doc/index.rst b/doc/index.rst index e9500b8f..dfe9dbe1 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -15,7 +15,7 @@ Install the SDK using Composer: Usage ----- -The `Model Context Protocol`_ is built on top of JSON-RPC. There two types of +The `Model Context Protocol`_ is built on top of JSON-RPC. There are two types of messages. A Notification and Request. The Notification is just a status update that something has happened. There is never a response to a Notification. A Request is a message that expects a response. There are 3 concepts/capabilities that you @@ -152,6 +152,6 @@ and value objects to work with. They will assure that you follow the `Model Cont specification. You also have the Transport abstraction that allows you to create your own transport -if non of the standard ones fit your needs. +if none of the standard ones fit your needs. .. _`Model Context Protocol`: https://modelcontextprotocol.io/ diff --git a/examples/09-standalone-cli/README.md b/examples/09-standalone-cli/README.md index ff9b93cb..b64295b2 100644 --- a/examples/09-standalone-cli/README.md +++ b/examples/09-standalone-cli/README.md @@ -18,7 +18,7 @@ DEBUG=1 php index.php You will see debug outputs to help you understand what is happening. -In this terminal you can now test add some json strings. See `example-requests.json`. +In this terminal you can now test by adding some JSON strings. See `example-requests.json`. Run with Inspector: diff --git a/examples/README.md b/examples/README.md index aef7d119..eb7a63fb 100644 --- a/examples/README.md +++ b/examples/README.md @@ -2,7 +2,7 @@ This directory contains various examples of how to use the PHP MCP SDK. -You can run examples 01-08 already with the dependencies installed in the root directory of the SDK, for example 09 see +You can run examples 01-08 with the dependencies already installed in the root directory of the SDK. For example 09, see the README in the `examples/09-standalone-cli` directory. For running an example, you execute the `server.php` like this: diff --git a/phpstan.dist.neon b/phpstan.dist.neon index 62e43112..108b384b 100644 --- a/phpstan.dist.neon +++ b/phpstan.dist.neon @@ -15,7 +15,7 @@ parameters: ignoreErrors: - message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#" - # This errors should actually be fixed, but are ignored for now + # These errors should actually be fixed, but are ignored for now - identifier: missingType.iterableValue path: src/Capability/Discovery/SchemaGenerator.php