owncloud / ocis-php-sdk

Apache License 2.0
3 stars 1 forks source link

fix phan error #252

Closed amrita-shrestha closed 2 months ago

amrita-shrestha commented 2 months ago

Currently phan has been failing due to

+ make test-php-phpstan
vendor/bin/phpstan analyse --memory-limit=4G --configuration=./phpstan.neon --no-progress src tests
 ------ ----------------------------------------------- 
  Line   src/Ocis.php                                   
 ------ ----------------------------------------------- 
  334    Offset 0 does not exist on array{0?: string}.  
 ------ ----------------------------------------------- 

This PR fix it

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
66.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud