Skip to content
Browse files

Fixed typos

  • Loading branch information...
1 parent 36d0bb5 commit fd32ee03462b9d48d4938f5a0c22035d828e24c6 @pborreli committed Mar 25, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.md
  2. +3 −3 src/Prophecy/Prophecy/MethodProphecy.php
View
2 README.md
@@ -166,7 +166,7 @@ Keep in mind, that you can always add even more promises by implementing
#### Method prophecies idempotency
-Prophecy enforces same method prophecies and, as a consequense, same promises and
+Prophecy enforces same method prophecies and, as a consequence, same promises and
predictions for the same method calls with the same arguments. This means:
```php
View
6 src/Prophecy/Prophecy/MethodProphecy.php
@@ -103,7 +103,7 @@ public function will($promise)
if (!$promise instanceof Promise\PromiseInterface) {
throw new InvalidArgumentException(sprintf(
- 'Expected callable or instance of PromiseInterface, but giot %s.',
+ 'Expected callable or instance of PromiseInterface, but got %s.',
gettype($promise)
));
}
@@ -169,7 +169,7 @@ public function should($prediction)
if (!$prediction instanceof Prediction\PredictionInterface) {
throw new InvalidArgumentException(sprintf(
- 'Expected callable or instance of PredictionInterface, but giot %s.',
+ 'Expected callable or instance of PredictionInterface, but got %s.',
gettype($prediction)
));
}
@@ -235,7 +235,7 @@ public function shouldHave($prediction)
if (!$prediction instanceof Prediction\PredictionInterface) {
throw new InvalidArgumentException(sprintf(
- 'Expected callable or instance of PredictionInterface, but giot %s.',
+ 'Expected callable or instance of PredictionInterface, but got %s.',
gettype($prediction)
));
}

0 comments on commit fd32ee0

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