Skip to content

Commit

Permalink
Fix incorrect class parameters in endpoint docs (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
VerifiedJoseph authored Jul 9, 2024
1 parent 88f2ced commit 0aa0f84
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Jump to:
## Application

```PHP
Gotify\Endpoint\Application(Server $server, ?auth $server)
Gotify\Endpoint\Application(Server $server, ?Auth $auth)
```

Class: [Application](../src/Endpoint/Application.php)
Expand Down Expand Up @@ -60,7 +60,7 @@ uploadImage(int $id, string $image): stdClass
## ApplicationMessage

```PHP
Gotify\Endpoint\ApplicationMessage(Server $server, ?auth $server)
Gotify\Endpoint\ApplicationMessage(Server $server, ?Auth $auth)
```

Class: [ApplicationMessage](../src/Endpoint/ApplicationMessage.php)
Expand All @@ -84,7 +84,7 @@ deleteAll(int $id): boolean
## Message

```PHP
Gotify\Endpoint\Message(Server $server, ?auth $server)
Gotify\Endpoint\Message(Server $server, ?Auth $auth)
```

Class: [Message](../src/Endpoint/Message.php)
Expand Down Expand Up @@ -151,7 +151,7 @@ deleteAll(): boolean
## Client

```PHP
Gotify\Endpoint\Client(Server $server, ?auth $server)
Gotify\Endpoint\Client(Server $server, ?Auth $auth)
```

Class: [Client](../src/Endpoint/Client.php)
Expand Down Expand Up @@ -191,7 +191,7 @@ delete(int $id): boolean
## User

```PHP
Gotify\Endpoint\User(Server $server, ?auth $server)
Gotify\Endpoint\User(Server $server, ?Auth $auth)
```

Class: [User](../src/Endpoint/User.php)
Expand Down Expand Up @@ -266,7 +266,7 @@ get(): stdClass
## Plugin

```PHP
Gotify\Endpoint\Plugin(Server $server, ?auth $server)
Gotify\Endpoint\Plugin(Server $server, ?Auth $auth)
```

Class: [Plugin](../src/Endpoint/Plugin.php)
Expand Down

0 comments on commit 0aa0f84

Please sign in to comment.