original_string: public function toArrayWithoutEmptyValues()
      {
          $array = $this->removeEmptyValues($this->toArray(true));
          foreach ($array as $key => $value) {
              if ($value === \Parable\ORM\Database::NULL_VALUE) {
                  $array[$key] = null;
              }
          }
          return $array;
      }
code: public function toArrayWithoutEmptyValues()
      {
          $array = $this->removeEmptyValues($this->toArray(true));
          foreach ($array as $key => $value) {
              if ($value === \Parable\ORM\Database::NULL_VALUE) {
                  $array[$key] = null;
              }
          }
          return $array;
      }
code_tokens: public function toArrayWithoutEmptyValues ( ) { $ array = $ this -> removeEmptyValues ( $ this -> toArray ( true ) ) ; foreach ( $ array as $ key => $ value ) { if ( $ value === \ Parable \ ORM \ Database :: NULL_VALUE ) { $ array [ $ key ] = null ; } } return $ array ; }
docstring: Generates an array of the current model, but removes empty values.
  
  @return array
docstring_tokens: Generates an array of the current model but removes empty values .