Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed typos

  • Loading branch information...
commit fd32ee03462b9d48d4938f5a0c22035d828e24c6 1 parent 36d0bb5
Pascal Borreli authored

Showing 2 changed files with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +1 1  README.md
  2. +3 3 src/Prophecy/Prophecy/MethodProphecy.php
2  README.md
Source Rendered
@@ -166,7 +166,7 @@ Keep in mind, that you can always add even more promises by implementing
166 166
167 167 #### Method prophecies idempotency
168 168
169   -Prophecy enforces same method prophecies and, as a consequense, same promises and
  169 +Prophecy enforces same method prophecies and, as a consequence, same promises and
170 170 predictions for the same method calls with the same arguments. This means:
171 171
172 172 ```php
6 src/Prophecy/Prophecy/MethodProphecy.php
@@ -103,7 +103,7 @@ public function will($promise)
103 103
104 104 if (!$promise instanceof Promise\PromiseInterface) {
105 105 throw new InvalidArgumentException(sprintf(
106   - 'Expected callable or instance of PromiseInterface, but giot %s.',
  106 + 'Expected callable or instance of PromiseInterface, but got %s.',
107 107 gettype($promise)
108 108 ));
109 109 }
@@ -169,7 +169,7 @@ public function should($prediction)
169 169
170 170 if (!$prediction instanceof Prediction\PredictionInterface) {
171 171 throw new InvalidArgumentException(sprintf(
172   - 'Expected callable or instance of PredictionInterface, but giot %s.',
  172 + 'Expected callable or instance of PredictionInterface, but got %s.',
173 173 gettype($prediction)
174 174 ));
175 175 }
@@ -235,7 +235,7 @@ public function shouldHave($prediction)
235 235
236 236 if (!$prediction instanceof Prediction\PredictionInterface) {
237 237 throw new InvalidArgumentException(sprintf(
238   - 'Expected callable or instance of PredictionInterface, but giot %s.',
  238 + 'Expected callable or instance of PredictionInterface, but got %s.',
239 239 gettype($prediction)
240 240 ));
241 241 }

0 comments on commit fd32ee0

Please sign in to comment.
Something went wrong with that request. Please try again.