|
|
@@ -404,7 +404,7 @@ trait IntegrationTestTrait
|
|
|
* response.
|
|
|
*
|
|
|
* @param string|array $url The URL to request.
|
|
|
- * @param array $data The data for the request.
|
|
|
+ * @param string|array|null $data The data for the request.
|
|
|
* @return void
|
|
|
* @throws \PHPUnit\Exception
|
|
|
*/
|
|
|
@@ -421,7 +421,7 @@ trait IntegrationTestTrait
|
|
|
* response.
|
|
|
*
|
|
|
* @param string|array $url The URL to request.
|
|
|
- * @param array $data The data for the request.
|
|
|
+ * @param string|array|null $data The data for the request.
|
|
|
* @return void
|
|
|
* @throws \PHPUnit\Exception
|
|
|
*/
|
|
|
@@ -438,7 +438,7 @@ trait IntegrationTestTrait
|
|
|
* response.
|
|
|
*
|
|
|
* @param string|array $url The URL to request.
|
|
|
- * @param array $data The data for the request.
|
|
|
+ * @param string|array|null $data The data for the request.
|
|
|
* @return void
|
|
|
* @throws \PHPUnit\Exception
|
|
|
*/
|
|
|
@@ -502,7 +502,7 @@ trait IntegrationTestTrait
|
|
|
*
|
|
|
* @param string|array $url The URL
|
|
|
* @param string $method The HTTP method
|
|
|
- * @param array|null $data The request data.
|
|
|
+ * @param string|array|null $data The request data.
|
|
|
* @return void
|
|
|
* @throws \PHPUnit\Exception
|
|
|
*/
|
|
|
@@ -600,7 +600,7 @@ trait IntegrationTestTrait
|
|
|
*
|
|
|
* @param string|array $url The URL
|
|
|
* @param string $method The HTTP method
|
|
|
- * @param array|null $data The request data.
|
|
|
+ * @param string|array|null $data The request data.
|
|
|
* @return array The request context
|
|
|
*/
|
|
|
protected function _buildRequest($url, $method, $data)
|