Skip to content

Commit 6be9182

Browse files
authored
Merge pull request #7 from hedii/pr/6
Lumen compatibility Close #6
2 parents 077d33f + 663575e commit 6be9182

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: php
22
php:
33
- 7.1
44
- 7.2
5+
- 7.3
56
before_script:
67
- composer self-update
78
- composer install

src/GelfLoggerFactory.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Gelf\Publisher;
66
use Gelf\Transport\IgnoreErrorTransportWrapper;
77
use Gelf\Transport\UdpTransport;
8-
use Illuminate\Foundation\Application;
8+
use Illuminate\Contracts\Container\Container;
99
use InvalidArgumentException;
1010
use Monolog\Formatter\GelfMessageFormatter;
1111
use Monolog\Handler\GelfHandler;
@@ -14,9 +14,9 @@
1414
class GelfLoggerFactory
1515
{
1616
/**
17-
* The application instance.
17+
* The container implementation.
1818
*
19-
* @var \Illuminate\Foundation\Application
19+
* @var \Illuminate\Contracts\Container\Container
2020
*/
2121
protected $app;
2222

@@ -39,9 +39,9 @@ class GelfLoggerFactory
3939
/**
4040
* GelfLoggerFactory constructor.
4141
*
42-
* @param \Illuminate\Foundation\Application $app
42+
* @param \Illuminate\Contracts\Container\Container $app
4343
*/
44-
public function __construct(Application $app)
44+
public function __construct(Container $app)
4545
{
4646
$this->app = $app;
4747
}

0 commit comments

Comments
 (0)