Suppress static analysis issue

This commit is contained in:
Jan Böhmer 2023-12-12 22:42:34 +01:00
parent 4d187741e0
commit 17e79207f0

View file

@ -127,6 +127,7 @@ class ConsoleEnsureWebserverUserListener
//If we have the COM extension available, we can use it to determine the owner
if (extension_loaded('com_dotnet')) {
$su = new \COM("ADsSecurityUtility"); // Call interface
//@phpstan-ignore-next-line
$securityInfo = $su->GetSecurityDescriptor($path_to_check, 1, 1); // Call method
return $securityInfo->owner; // Get file owner
}