for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Appvise\AppStoreNotifications\Exceptions;
use Exception;
class WebhookFailed extends Exception
{
public static function nonValidRequest()
return new static("Your shared secret does not match password in Apple's request", 400);
}
public static function jobClassDoesNotExist(string $jobClass)
return new static("Could not process webhook because the configured job `$jobClass` does not exist.", 501);
public function render($request)
$request
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return response(['error' => $this->getMessage()], 400);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.