original_string: public function merge($collection)
      {
          if (is_object($collection) && $collection->count() > 0) {
              $this->collection = array_merge($this->collection, $collection->collection);
          }
      }
code: public function merge($collection)
      {
          if (is_object($collection) && $collection->count() > 0) {
              $this->collection = array_merge($this->collection, $collection->collection);
          }
      }
code_tokens: public function merge ( $ collection ) { if ( is_object ( $ collection ) && $ collection -> count ( ) > 0 ) { $ this -> collection = array_merge ( $ this -> collection , $ collection -> collection ) ; } }
docstring: Merge a collection with this collection.
  @param Collection $collection Collection to merge with
docstring_tokens: Merge a collection with this collection .