Skip to content

Commit

Permalink
Deprecate required parameters after optional parameters in function/m…
Browse files Browse the repository at this point in the history
…ethod signatures (overtrue#263)
  • Loading branch information
zingimmick authored Aug 19, 2020
1 parent b60a545 commit a317397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateways/QiniuGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ protected function buildEndpoint($type, $function)
*
* @return string
*/
protected function generateSign($url, $method, $body = null, $contentType = null, Config $config)
protected function generateSign($url, $method, $body, $contentType, Config $config)
{
$urlItems = parse_url($url);
$host = $urlItems['host'];
Expand Down

0 comments on commit a317397

Please sign in to comment.