Skip to content

Commit 94f2fc5

Browse files
freekmurzegithub-actions[bot]
authored andcommitted
Fix styling
1 parent f68ee19 commit 94f2fc5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Tasks/Backup/DbDumperFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static function createFromConnection(string $dbConnectionName): DbDumper
5858
}
5959

6060
if (isset($dbConfig['port'])) {
61-
if (is_integer($dbConfig['port'])) {
61+
if (is_int($dbConfig['port'])) {
6262
$dbDumper = $dbDumper->setPort($dbConfig['port']);
6363
}
6464
}

tests/DbDumperFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@
105105
'read' => [
106106
'host' => 'localhost-read',
107107
'database' => 'myDb-read',
108-
'port' => ''
108+
'port' => '',
109109
],
110110
'write' => [
111111
'host' => 'localhost-write',
112112
'database' => 'myDb-write',
113-
'port' => 'fish'
113+
'port' => 'fish',
114114
],
115115
'username' => 'root',
116116
'password' => 'myPassword',

0 commit comments

Comments
 (0)