Replace is_a with instanceof.

This commit is contained in:
mark_story 2012-08-21 08:47:17 -04:00
parent 172e4bed5d
commit 88604ac757

View file

@ -142,7 +142,7 @@ class JsHelper extends AppHelper {
$this->buffer($out);
return null;
}
if (is_object($out) && is_a($out, 'JsBaseEngineHelper')) {
if (is_object($out) && $out instanceof JsBaseEngineHelper) {
return $this;
}
return $out;