Skip to content

Commit

Permalink
Codestyle and composer update
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Mar 28, 2020
1 parent e296836 commit ef83704
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 32 deletions.
73 changes: 45 additions & 28 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions server.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,11 @@
}

$sessions = array_filter($sessions);
foreach ($sessions as $file) {
$sessionFiles[$file] = null;
}
$sessions = array_unique($sessions);
}

new TelegramApiServer\Server\Server(
new TelegramApiServer\Client(),
$options,
array_keys($sessionFiles)
$sessions
);

0 comments on commit ef83704

Please sign in to comment.