mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Replace is_a() and is_subclass_of() with instanceof
This commit is contained in:
parent
bc06367edf
commit
80f2dd7a8a
3 changed files with 4 additions and 4 deletions
|
|
@ -164,7 +164,7 @@ class ModuleInstaller
|
|||
}
|
||||
|
||||
$output = $oModule->moduleUninstall();
|
||||
if(is_subclass_of($output, 'Object') && !$output->toBool())
|
||||
if($output instanceof Object && !$output->toBool())
|
||||
{
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue