Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/124'
Browse files Browse the repository at this point in the history
Close #124
  • Loading branch information
weierophinney committed Jul 15, 2016
2 parents 008fba0 + a655d1f commit 7f70c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/book/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ class ObserverPluginManager extends AbstractPluginManager

public function validatePlugin($instance)
{
if (! $plugin instanceof ObserverInterface) {
if (! $instance instanceof ObserverInterface) {
throw new RuntimeException(sprintf(
'Invalid plugin "%s" created; not an instance of %s',
get_class($instance),
Expand Down Expand Up @@ -1195,7 +1195,7 @@ class ObserverPluginManager extends AbstractPluginManager

public function validate($instance)
{
if (! $plugin instanceof $this->instanceOf) {
if (! $instance instanceof $this->instanceOf) {
throw new InvalidServiceException(sprintf(
'Invalid plugin "%s" created; not an instance of %s',
get_class($instance),
Expand Down

0 comments on commit 7f70c81

Please sign in to comment.