public function filterEmptyLines(array $lines)
    {
        return array_filter($lines, function ($line) {
            $line = trim($line);

            return $line !== '*' ? $line : false;
        });
    }
public function filterEmptyLines(array $lines)
    {
        return array_filter($lines, function ($line) {
            $line = trim($line);

            return $line !== '*' ? $line : false;
        });
    }
public function filterEmptyLines ( array $ lines ) { return array_filter ( $ lines , function ( $ line ) { $ line = trim ( $ line ) ; return $ line !== '*' ? $ line : false ; } ) ; }
filter lines if they empty

@param array $lines
@return array
filter lines if they empty