mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Clean up usage of is_countable()
This commit is contained in:
parent
67a9aba082
commit
494e0ee028
8 changed files with 10 additions and 14 deletions
|
|
@ -500,7 +500,7 @@ class Context
|
|||
{
|
||||
$config = Rhymix\Framework\Config::getAll();
|
||||
}
|
||||
if (!is_countable($config) || !count($config))
|
||||
if (!is_array($config) || !count($config))
|
||||
{
|
||||
self::$_instance->db_info = self::$_instance->db_info ?: new stdClass;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue