Skip to content

Commit 3bd4350

Browse files
authored
Merge pull request #98 from yooslim/master
Fix typo mistake with typehint
2 parents 3d145d2 + 49c6ae3 commit 3bd4350

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Drivers/Database.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Database extends Driver
4242
/**
4343
* Keys which should be encrypt automatically.
4444
*
45-
* @var string
45+
* @var array
4646
*/
4747
protected $encrypted_keys;
4848

@@ -64,13 +64,13 @@ class Database extends Driver
6464
* @param \Illuminate\Database\Connection $connection
6565
* @param string $table
6666
*/
67-
public function __construct(Connection $connection, $table = null, $key = null, $value = null, $encrypted_keys = [])
67+
public function __construct(Connection $connection, $table = null, $key = null, $value = null, array $encrypted_keys = [])
6868
{
6969
$this->connection = $connection;
7070
$this->table = $table ?: 'settings';
7171
$this->key = $key ?: 'key';
7272
$this->value = $value ?: 'value';
73-
$this->encrypted_keys = $encrypted_keys ?: [];
73+
$this->encrypted_keys = $encrypted_keys;
7474
}
7575

7676
/**

0 commit comments

Comments
 (0)