for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\Annotations\Type;
use function is_int;
/**
* @internal
*/
class IntegerType implements ScalarType
{
public function describe() : string
return 'int';
}
* @param mixed $value
public function validate($value) : bool
return is_int($value);