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.
1 parent f68ee19 commit 94f2fc5Copy full SHA for 94f2fc5
src/Tasks/Backup/DbDumperFactory.php
@@ -58,7 +58,7 @@ public static function createFromConnection(string $dbConnectionName): DbDumper
58
}
59
60
if (isset($dbConfig['port'])) {
61
- if (is_integer($dbConfig['port'])) {
+ if (is_int($dbConfig['port'])) {
62
$dbDumper = $dbDumper->setPort($dbConfig['port']);
63
64
tests/DbDumperFactoryTest.php
@@ -105,12 +105,12 @@
105
'read' => [
106
'host' => 'localhost-read',
107
'database' => 'myDb-read',
108
- 'port' => ''
+ 'port' => '',
109
],
110
'write' => [
111
'host' => 'localhost-write',
112
'database' => 'myDb-write',
113
- 'port' => 'fish'
+ 'port' => 'fish',
114
115
'username' => 'root',
116
'password' => 'myPassword',
0 commit comments