Issues (8)

src/Zanzara/Telegram/Telegram.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Zanzara\Telegram;
6
7
use Psr\Container\ContainerInterface;
8
use React\Http\Browser;
9
10
/**
11
 *
12
 */
13
class Telegram
14
{
15
    use TelegramTrait;
0 ignored issues
show
The trait Zanzara\Telegram\TelegramTrait requires the property $result which is not provided by Zanzara\Telegram\Telegram.
Loading history...
16
17
    /**
18
     * Telegram constructor.
19
     * @param ContainerInterface $container
20
     */
21
    public function __construct(ContainerInterface $container)
22
    {
23
        $this->container = $container;
24
        $this->browser = $container->get(Browser::class);
25
    }
26
27
}
28