projects
/
m6w6
/
seekat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
update to PHP-8.1
[m6w6/seekat]
/
lib
/
API
/
Call.php
diff --git
a/lib/API/Call.php
b/lib/API/Call.php
index 38b1559f6172b2bffe7d28586c44e0c8d09ecc96..a913bdaffb6c49c4f7031576342af864960a2f84 100644
(file)
--- a/
lib/API/Call.php
+++ b/
lib/API/Call.php
@@
-6,19
+6,7
@@
use http\Url;
use seekat\API;
final class Call {
use seekat\API;
final class Call {
- /**
- * @var API
- */
- private $api;
-
- /**
- * @var string
- */
- private $call;
-
- function __construct(API $api, string $call) {
- $this->api = $api;
- $this->call = $call;
+ function __construct(private readonly API $api, private readonly string $call) {
}
function __invoke(array $args) {
}
function __invoke(array $args) {