!== array() => !empty()

This commit is contained in:
Alexander Kochetov
2013-05-07 19:57:27 +04:00
parent d7df7053e0
commit 48d04fbb8c
16 changed files with 33 additions and 33 deletions

View File

@ -36,7 +36,7 @@ class ArrayHelper
{
$args = func_get_args();
$res = array_shift($args);
while ($args !== array()) {
while (!empty($args)) {
$next = array_shift($args);
foreach ($next as $k => $v) {
if (is_integer($k)) {