Skip to content

Commit

Permalink
🚀 Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNotAVirus committed Jun 28, 2024
1 parent 8b951af commit 68dd316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/elven_gard/network/endpoint/protocol.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule ElvenGard.Network.Endpoint.Protocol do
a structured way to implement connection handling within ElvenGard.Network.
For detailed information on implementing and using network protocols
with ElvenGard.Network, please refer to the
with ElvenGard.Network, please refer to the
[Endpoint Protocol guide](https://hexdocs.pm/elvengard_network/protocol.html).
"""

Expand Down Expand Up @@ -140,7 +140,7 @@ defmodule ElvenGard.Network.Endpoint.Protocol do

## Helpers

@app Mix.Project.get().project[:app]
@app Mix.Project.get().project()[:app]
defp env_config(), do: Application.fetch_env!(@app, __MODULE__)
defp codec(), do: env_config()[:network_codec]
defp handlers(), do: env_config()[:packet_handler]
Expand Down

0 comments on commit 68dd316

Please sign in to comment.