public static function trimNulls(array $in) {
            foreach ($in as $k => $v) {
                if ($v === null) {
                    unset($in[$k]);
                }
            }

            return $in;
        }
public static function trimNulls(array $in) {
            foreach ($in as $k => $v) {
                if ($v === null) {
                    unset($in[$k]);
                }
            }

            return $in;
        }
public static function trimNulls ( array $ in ) { foreach ( $ in as $ k => $ v ) { if ( $ v === null ) { unset ( $ in [ $ k ] ) ; } } return $ in ; }
Trims nulls from the input

@author Art <a.molcanovas@gmail.com>

@param array $in The input

@return array The trimmed input
Trims nulls from the input