original_string: public function tagsWithGroup(string $group = null): Collection
      {
          return $this->tags->filter(function (Tag $tag) use ($group) {
              return $tag->group === $group;
          });
      }
code: public function tagsWithGroup(string $group = null): Collection
      {
          return $this->tags->filter(function (Tag $tag) use ($group) {
              return $tag->group === $group;
          });
      }
code_tokens: public function tagsWithGroup ( string $ group = null ) : Collection { return $ this -> tags -> filter ( function ( Tag $ tag ) use ( $ group ) { return $ tag -> group === $ group ; } ) ; }
docstring: Filter tags with group.
  
  @param string|null $group
  
  @return \Illuminate\Database\Eloquent\Collection
docstring_tokens: Filter tags with group .