Skip to content

Commit

Permalink
fetchConnection signature (#535)
Browse files Browse the repository at this point in the history
Summary:
support PHP8 deprecation on optional arguments order

Pull Request resolved: #535

Reviewed By: Mxiim

Differential Revision: D25771380

Pulled By: jingping2015

fbshipit-source-id: 0800cb34
  • Loading branch information
jguittard authored and facebook-github-bot committed Jan 5, 2021
1 parent df0209c commit 525cb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FacebookAds/Object/AbstractCrudObject.php
Expand Up @@ -388,7 +388,7 @@ protected function assureEndpoint($prototype_class, $endpoint) {
protected function fetchConnection(
array $fields = array(),
array $params = array(),
$prototype_class,
$prototype_class = '',
$endpoint = null) {
$fields = implode(',', $fields ?: static::getDefaultReadFields());
if ($fields) {
Expand Down

0 comments on commit 525cb1c

Please sign in to comment.