mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +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
|
|
@ -60,10 +60,6 @@ class JSONDisplayHandler
|
|||
*/
|
||||
protected static function _isNumericArray($array)
|
||||
{
|
||||
if (!is_countable($array))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!is_array($array) || !count($array))
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue