Skip to content

Commit f5a3d08

Browse files
authored
Merge pull request #27 from saMahmoudzadeh/master
add require-dev in composer.json and set type in `CustomMySqlQueries.php`
2 parents 45d38be + a176175 commit f5a3d08

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"illuminate/cache": "^6.0|^7.0|^8.0|^9.0|^10.0",
1919
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0"
2020
},
21+
"require-dev": {
22+
"laravel/framework": "^8.0|^9.0|^10.0"
23+
},
2124
"autoload": {
2225
"psr-4": {
2326
"Eghamat24\\DatabaseRepository\\": "src/"

src/CustomMySqlQueries.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
trait CustomMySqlQueries
1010
{
11-
protected $dataTypes = [
11+
protected array $dataTypes = [
1212
'bool' => 'bool',
1313
'boolean' => 'bool',
1414
'bit' => 'string',
@@ -41,7 +41,7 @@ trait CustomMySqlQueries
4141
'point' => 'string',
4242
];
4343

44-
protected $columnTypes = [
44+
protected array $columnTypes = [
4545
'tinyint(1)' => 'bool'
4646
];
4747

0 commit comments

Comments
 (0)