Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vansari authored Mar 6, 2023
1 parent ddfffa3 commit c11bee8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ Actual included Types are:
- string
- boolean
- array

(json has an open MR)
- json

You can add your own Type by creating a class which implements the TypeInterface.

Expand All @@ -24,7 +23,7 @@ declare(strict_types=1);

namespace Company\EnvTypes;

use Vansari\EnvReader\Types\TypeInterface;
use DevCircleDe\EnvReader\Types\TypeInterface;

class CustomType implements TypeInterface
{
Expand All @@ -47,7 +46,7 @@ Usage of the CustomType:
<?php

use Company\EnvTypes\CustomType;
use Vansari\EnvReader\EnvParser;
use DevCircleDe\EnvReader\EnvParser;

$envParser = EnvParser::getInstance();
// add custom type
Expand Down

0 comments on commit c11bee8

Please sign in to comment.