Skip to content

Commit

Permalink
More PHPDoc on system/engine/proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed May 16, 2024
1 parent fed4aa2 commit 26cd6bf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions upload/system/engine/proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Proxy {
/**
* Get
*
* @param $key
* @param mixed $key
*
* @return mixed
*/
Expand All @@ -36,24 +36,24 @@ public function __get($key) {
/**
* Set
*
* @param $key
* @param $value
* @param string $key
* @param object $value
*
* @return void
*/
public function __set($key, $value): void {
public function __set(string $key, object $value): void {
$this->data[$key] = $value;
}

/**
* Call
*
* @param $key
* @param $args
* @param string $key
* @param array<string mixed> $args
*
* @return mixed|void
* @return mixed
*/
public function __call($key, $args) {
public function __call(string $key, array $args) {
$arg_data = [];

$args = func_get_args();
Expand Down

0 comments on commit 26cd6bf

Please sign in to comment.