Skip to content

Commit 3414a06

Browse files
Compare '$index' to null (scrutinizer hint)
1 parent 8a0f44f commit 3414a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Backup/Source/Elasticdump.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ private function generateNodeUrl($host, $user = null, $password = null, $index =
210210
$url .= '/';
211211
}
212212

213-
if ($index) {
213+
if ($index !== null) {
214214
$url .= $index;
215215
}
216216

0 commit comments

Comments
 (0)