for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare (strict_types = 1);
namespace Phpml\Exception;
class InvalidArgumentException extends \Exception
{
/**
* @return InvalidArgumentException
*/
public static function arraySizeNotMatch()
return new self('Size of given arrays not match');
}
* @param $name
*
public static function percentNotInRange($name)
return new self(sprintf('%s must be between 0.0 and 1.0', $name));