Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit 271cb60

Browse files
committed
run code inspection check. fix some errors
1 parent 3ee145f commit 271cb60

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/PhpDotEnv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*/
3030
final class PhpDotEnv
3131
{
32-
const FULL_KEY = 'PHP_DOTENV_VARS';
32+
public const FULL_KEY = 'PHP_DOTENV_VARS';
3333

3434
/**
3535
* @param string $fileDir

src/Type.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
final class Type
1616
{
1717
// php data type
18-
const INT = 'int';
19-
const INTEGER = 'integer';
20-
const FLOAT = 'float';
21-
const DOUBLE = 'double';
22-
const BOOL = 'bool';
23-
const BOOLEAN = 'boolean';
24-
const STRING = 'string';
18+
public const INT = 'int';
19+
public const INTEGER = 'integer';
20+
public const FLOAT = 'float';
21+
public const DOUBLE = 'double';
22+
public const BOOL = 'bool';
23+
public const BOOLEAN = 'boolean';
24+
public const STRING = 'string';
2525

26-
const ARRAY = 'array';
27-
const OBJECT = 'object';
28-
const RESOURCE = 'resource';
26+
public const ARRAY = 'array';
27+
public const OBJECT = 'object';
28+
public const RESOURCE = 'resource';
2929

3030
/**
3131
* @return array

0 commit comments

Comments
 (0)