Skip to content

Commit 6a896d7

Browse files
committed
Fix typos in documentation and configuration files
- Fix grammar in doc/index.rst: "There two types" → "There are two types" - Fix grammar in doc/index.rst: "if non of" → "if none of" - Fix grammar in phpstan.dist.neon: "This errors" → "These errors" - Fix grammar in examples/09-standalone-cli/README.md: "test add" → "test by adding" - Fix sentence structure in examples/README.md for better readability
1 parent 4fef07d commit 6a896d7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Install the SDK using Composer:
1515
Usage
1616
-----
1717

18-
The `Model Context Protocol`_ is built on top of JSON-RPC. There two types of
18+
The `Model Context Protocol`_ is built on top of JSON-RPC. There are two types of
1919
messages. A Notification and Request. The Notification is just a status update
2020
that something has happened. There is never a response to a Notification. A Request
2121
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
152152
specification.
153153

154154
You also have the Transport abstraction that allows you to create your own transport
155-
if non of the standard ones fit your needs.
155+
if none of the standard ones fit your needs.
156156

157157
.. _`Model Context Protocol`: https://modelcontextprotocol.io/

examples/09-standalone-cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ DEBUG=1 php index.php
1818

1919
You will see debug outputs to help you understand what is happening.
2020

21-
In this terminal you can now test add some json strings. See `example-requests.json`.
21+
In this terminal you can now test by adding some JSON strings. See `example-requests.json`.
2222

2323
Run with Inspector:
2424

examples/README.md

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

33
This directory contains various examples of how to use the PHP MCP SDK.
44

5-
You can run examples 01-08 already with the dependencies installed in the root directory of the SDK, for example 09 see
5+
You can run examples 01-08 with the dependencies already installed in the root directory of the SDK. For example 09, see the
66
README in the `examples/09-standalone-cli` directory.
77

88
For running an example, you execute the `server.php` like this:

phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ parameters:
1515
ignoreErrors:
1616
-
1717
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
18-
# This errors should actually be fixed, but are ignored for now
18+
# These errors should actually be fixed, but are ignored for now
1919
-
2020
identifier: missingType.iterableValue
2121
path: src/Capability/Discovery/SchemaGenerator.php

0 commit comments

Comments
 (0)