Skip to content

Commit

Permalink
Merge pull request #98 from yooslim/master
Browse files Browse the repository at this point in the history
Fix typo mistake with typehint
  • Loading branch information
denisdulici authored Jul 27, 2023
2 parents 3d145d2 + 49c6ae3 commit 3bd4350
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Drivers/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Database extends Driver
/**
* Keys which should be encrypt automatically.
*
* @var string
* @var array
*/
protected $encrypted_keys;

Expand All @@ -64,13 +64,13 @@ class Database extends Driver
* @param \Illuminate\Database\Connection $connection
* @param string $table
*/
public function __construct(Connection $connection, $table = null, $key = null, $value = null, $encrypted_keys = [])
public function __construct(Connection $connection, $table = null, $key = null, $value = null, array $encrypted_keys = [])
{
$this->connection = $connection;
$this->table = $table ?: 'settings';
$this->key = $key ?: 'key';
$this->value = $value ?: 'value';
$this->encrypted_keys = $encrypted_keys ?: [];
$this->encrypted_keys = $encrypted_keys;
}

/**
Expand Down

0 comments on commit 3bd4350

Please sign in to comment.