We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45d38be + a176175 commit f5a3d08Copy full SHA for f5a3d08
composer.json
@@ -18,6 +18,9 @@
18
"illuminate/cache": "^6.0|^7.0|^8.0|^9.0|^10.0",
19
"illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0"
20
},
21
+ "require-dev": {
22
+ "laravel/framework": "^8.0|^9.0|^10.0"
23
+ },
24
"autoload": {
25
"psr-4": {
26
"Eghamat24\\DatabaseRepository\\": "src/"
src/CustomMySqlQueries.php
@@ -8,7 +8,7 @@
8
9
trait CustomMySqlQueries
10
{
11
- protected $dataTypes = [
+ protected array $dataTypes = [
12
'bool' => 'bool',
13
'boolean' => 'bool',
14
'bit' => 'string',
@@ -41,7 +41,7 @@ trait CustomMySqlQueries
41
'point' => 'string',
42
];
43
44
- protected $columnTypes = [
+ protected array $columnTypes = [
45
'tinyint(1)' => 'bool'
46
47
0 commit comments