for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Enjoys\Dotenv\Types;
final class NullType implements TypeCastInterface
{
public function __construct(private string $value)
}
#[\Override]
public function isPossible(): bool
if (str_starts_with($this->value, '*null')){
return true;
return false;
public function getCastedValue(): string|null
return null;