Skip to content

Commit

Permalink
Merge pull request #100 from cyrgit/patch-1
Browse files Browse the repository at this point in the history
Call to is_subclass_of() expects a string
  • Loading branch information
kemo committed Oct 31, 2014
2 parents 11ceedc + 6f2154b commit 89ad6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Kohana/Minion/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public static function factory(array $options = array())
array(':class' => $class)
);
}
elseif ( ! is_subclass_of($class, Minion_Task))
elseif ( ! is_subclass_of($class, 'Minion_Task'))
{
throw new Minion_Task_Exception(
'Class `:class` is not a valid minion task',
Expand Down

0 comments on commit 89ad6fe

Please sign in to comment.