original_string: protected function removeEmpty($collection) {
          foreach ($collection as $key => $value) {
              if (empty($value)) {
                  unset($collection[$key]);
              }
          }
  
          return $collection;
      }
code: protected function removeEmpty($collection) {
          foreach ($collection as $key => $value) {
              if (empty($value)) {
                  unset($collection[$key]);
              }
          }
  
          return $collection;
      }
code_tokens: protected function removeEmpty ( $ collection ) { foreach ( $ collection as $ key => $ value ) { if ( empty ( $ value ) ) { unset ( $ collection [ $ key ] ) ; } } return $ collection ; }
docstring: Remove empty values from collection
  
  @param $collection
docstring_tokens: Remove empty values from collection