Skip to content

Commit

Permalink
Added more PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 8, 2024
1 parent ffbebbb commit 1a83024
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions upload/system/engine/registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @property Mail $mail
*/
class Registry {
/**
* @var array<string, object>
*/
private array $data = [];

/**
Expand Down Expand Up @@ -79,11 +82,11 @@ public function set(string $key, object $value): void {
/**
* Has
*
* @param $key
* @param string $key
*
* @return bool
*/
public function has($key): bool {
public function has(string $key): bool {
return isset($this->data[$key]);
}
}

0 comments on commit 1a83024

Please sign in to comment.