Passed
Push — master ( cd7871...bd6ecf )
by Jakub
02:12
created

Config

Complexity

Total Complexity 0

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
eloc 5
c 1
b 0
f 0
dl 0
loc 17
ccs 0
cts 0
cp 0
1
<?php
2
declare(strict_types=1);
3
4
namespace HeroesofAbenez\Chat\DI;
5
6
use HeroesofAbenez\Chat\ChatMessageProcessor;
7
use HeroesofAbenez\Chat\DatabaseAdapter;
8
9
/**
10
 * @author Jakub Konečný
11
 * @internal
12
 */
13
final class Config {
14
  /**
15
   * @var class-string[]
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string[] at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string[].
Loading history...
16
   */
17
  public array $chats = [];
18
19
  /**
20
   * @var class-string<ChatMessageProcessor>[]
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string<ChatMessageProcessor>[] at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<ChatMessageProcessor>[].
Loading history...
21
   */
22
  public array $messageProcessors = [];
23
24
  /**
25
   * @var class-string<DatabaseAdapter>
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string<DatabaseAdapter> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<DatabaseAdapter>.
Loading history...
26
   */
27
  public string $databaseAdapter;
28
29
  public string $characterProfileLink = "";
30
}
31
?>