Skip to content

Commit

Permalink
1.2
Browse files Browse the repository at this point in the history
* [-] удалено жёсткое требование типа аргумента PDO в конструкторе
  • Loading branch information
KarelWintersky committed Dec 26, 2022
1 parent ebfaf40 commit a105096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/Longreads.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Longreads implements LongreadsInterface
*/
private bool $throw_on_error;

public function __construct(PDO $pdo, array $options = [], $logger = null)
public function __construct($pdo, array $options = [], LoggerInterface $logger = null)
{
$this->api_request_types = [
'getprojectslist' => '', // Список проектов
Expand Down

0 comments on commit a105096

Please sign in to comment.