Skip to content

Commit

Permalink
Merge pull request #52 from olleolleolle/fix/misspellings
Browse files Browse the repository at this point in the history
Fix typos in code comments
  • Loading branch information
René Föhring authored Jan 26, 2023
2 parents fed6bb1 + 8c31a3d commit 6a07e32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/inch/language/elixir/roles/function.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ def suggestion
end
end

# Role assigned to methods where the return value is decribed in the
# Role assigned to methods where the return value is described in the
# docs
class WithReturnDescription < Base
applicable_if :return_described?
end

# Role assigned to methods where the return value is not decribed
# Role assigned to methods where the return value is not described
class WithoutReturnDescription < Missing
applicable_unless :return_described?

Expand Down
4 changes: 2 additions & 2 deletions lib/inch/language/javascript/roles/function.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ def suggestion
end
end

# Role assigned to methods where the return value is decribed in the
# Role assigned to methods where the return value is described in the
# docs
class WithReturnDescription < Base
applicable_if :return_described?
end

# Role assigned to methods where the return value is not decribed
# Role assigned to methods where the return value is not described
class WithoutReturnDescription < Missing
applicable_unless :return_described?

Expand Down
4 changes: 2 additions & 2 deletions lib/inch/language/ruby/roles/method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ def suggestion
end
end

# Role assigned to methods where the return value is decribed in the
# Role assigned to methods where the return value is described in the
# docs
class WithReturnDescription < Base
applicable_if :return_described?
end

# Role assigned to methods where the return value is not decribed
# Role assigned to methods where the return value is not described
class WithoutReturnDescription < Missing
applicable_unless :return_described?

Expand Down

0 comments on commit 6a07e32

Please sign in to comment.