for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DeGraciaMathieu\Riddler\Occurrences;
use DeGraciaMathieu\Riddler\Contracts\Occurrence;
class Strict extends BaseOccurrence implements Occurrence
{
protected $size;
public function __construct($size)
$this->size = $size;
}
public function validateRange($value)
return (int) $value === $this->size;