Skip to content

Commit

Permalink
Release v1.1.1
Browse files Browse the repository at this point in the history
* Fix type hint for 'setBlockList'
  • Loading branch information
S1SYPHOS committed Jul 11, 2021
1 parent 4f8e309 commit 788e76c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Acknowledge the people behind your frontend dependencies - and give thanks!",
"type": "library",
"license": "MIT",
"version": "1.1.0",
"version": "1.1.1",
"keywords": ["gratitude", "appreciation", "gratefulness", "thankfulness"],
"homepage": "https://github.com/S1SYPHOS",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions lib/Thx.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Thx
/**
* Current version
*/
const VERSION = '1.1.0';
const VERSION = '1.1.1';


/**
Expand Down Expand Up @@ -75,7 +75,7 @@ class Thx
* Setters & getters
*/

public function setBlockList(int $blockList): void
public function setBlockList(array $blockList): void
{
$this->blockList = $blockList;
}
Expand Down Expand Up @@ -203,7 +203,7 @@ public function data(): array
public function giveBack()
{
$config = [
'bockList' => $this->blockList,
'blockList' => $this->blockList,
'cacheDuration' => $this->cacheDuration,
'timeout' => $this->timeout,
'userAgent' => $this->userAgent,
Expand Down

0 comments on commit 788e76c

Please sign in to comment.