All Downloads are FREE. Search and download functionalities are using the official Maven repository.

php-symfony.serialization.TypeMismatchException.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
getCurrentPath()) > 0) {
            $property = sprintf('property "%s" to be ', implode('.', $context->getCurrentPath()));
        } else {
            $property = '';
        }

        return new static(sprintf(
            'Expected %s%s, but got %s: %s',
            $property,
            $expected_type,
            gettype($actual_value),
            json_encode($actual_value)
        ));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy