mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-14 00:54:01 +02:00
Add property types to all properties where possible
This commit is contained in:
@@ -224,7 +224,7 @@ class LineFormatterTest extends TestCase
|
||||
|
||||
class TestFoo
|
||||
{
|
||||
public $foo = 'fooValue';
|
||||
public string $foo = 'fooValue';
|
||||
}
|
||||
|
||||
class TestBar
|
||||
|
@@ -16,7 +16,7 @@ use Monolog\Test\TestCase;
|
||||
|
||||
class ScalarFormatterTest extends TestCase
|
||||
{
|
||||
private $formatter;
|
||||
private ScalarFormatter $formatter;
|
||||
|
||||
public function setUp(): void
|
||||
{
|
||||
|
Reference in New Issue
Block a user