Skip to content

Commit

Permalink
Merge pull request #332 from toddstoker/patch-1
Browse files Browse the repository at this point in the history
Declare $client to avoid deprecation notice
  • Loading branch information
ROMzombie authored Jul 24, 2024
2 parents 15020f4 + 6001c1c commit ea23378
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Infusionsoft/Api/AbstractApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

abstract class AbstractApi {

public function __construct(Infusionsoft $client)
{
$this->client = $client;
}
public function __construct(
public Infusionsoft $client
){ }

}
}

0 comments on commit ea23378

Please sign in to comment.