Skip to content

Commit 674fb56

Browse files
committed
passing null instead of 0 is deprecated in php 8.1
1 parent fc8546e commit 674fb56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: inc/AbstractLoader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ private function getSessionForWorkspace($credentials, $workspaceName)
290290
$workspace = $session->getWorkspace();
291291

292292
if (in_array($workspaceName, $workspace->getAccessibleWorkspaceNames())) {
293-
throw new Exception(sprintf('Workspace "%s" already exists but could not login to it', $workspaceName), null, $e);
293+
throw new Exception(sprintf('Workspace "%s" already exists but could not login to it', $workspaceName), 0, $e);
294294
}
295295
$workspace->createWorkspace($workspaceName);
296296

0 commit comments

Comments
 (0)