Respect\Validation\Rules\TypeTest::providerForValidType PHP Метод

providerForValidType() публичный Метод

    public function providerForValidType()
    {
        return [['array', []], ['bool', true], ['boolean', false], ['callable', function () {
        }], ['double', 0.8], ['float', 1.0], ['int', 42], ['integer', 13], ['null', null], ['object', new stdClass()], ['resource', tmpfile()], ['string', 'Something']];
    }