mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Replace is_a with instanceof.
This commit is contained in:
parent
172e4bed5d
commit
88604ac757
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue