Fixed typos #7

Merged
merged 1 commit into from Mar 25, 2013
View
@@ -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
@@ -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)
));
}