api(application): v2 backport
This commit is contained in:
parent
4cd0bee231
commit
67bf3e342e
172 changed files with 2922 additions and 1579 deletions
|
@ -11,7 +11,7 @@ trait MocksMiddlewareClosure
|
|||
* Provide a closure to be used when validating that the response from the middleware
|
||||
* is the same request object we passed into it.
|
||||
*/
|
||||
protected function getClosureAssertions(): \Closure
|
||||
protected function getClosureAssertions(): Closure
|
||||
{
|
||||
if (is_null($this->request)) {
|
||||
throw new \BadFunctionCallException('Calling getClosureAssertions without defining a request object is not supported.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue