chore: Аннотации к типам
This commit is contained in:
parent
e2ba6bd46e
commit
e5713e9015
28 changed files with 305 additions and 110 deletions
|
|
@ -5,8 +5,7 @@ use ctiso\File,
|
|||
Exception;
|
||||
|
||||
class Registry {
|
||||
public array $namespace = [];
|
||||
public $data;
|
||||
private array $namespace = [];
|
||||
|
||||
function importFile(string $namespace, ?string $filePath = null) {
|
||||
$data = json_decode(File::getContents($filePath), true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue