mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Suppress static analysis issue
This commit is contained in:
parent
4d187741e0
commit
17e79207f0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue