Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos #7

Merged
merged 1 commit into from Mar 25, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/Prophecy/Prophecy/MethodProphecy.php
Expand Up @@ -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)
));
}
Expand Down Expand Up @@ -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)
));
}
Expand Down Expand Up @@ -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)
));
}
Expand Down