for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ScayTrase\Api\Cruds\Exception;
class EntityProcessingException extends \RuntimeException implements CrudsExceptionInterface
{
/**
* @param string $message
* @param mixed $data
*
* @return static
*/
public static function invalidDataSubmitted($message, $data)
$data
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return new static(
sprintf('Data submitted to processor is invalid: %s', $message)
);
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.