diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index 47b8bb4b3..8f2203205 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -1613,7 +1613,7 @@ return [ 'DirectoryIterator::setFileClass' => ['void', 'class='=>'class-string'], 'DirectoryIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'DirectoryIterator::valid' => ['bool'], -'dirname' => ['string', 'path'=>'string', 'levels='=>'int'], +'dirname' => ['string', 'path'=>'string', 'levels='=>'int<1, max>'], 'disk_free_space' => ['float|false', 'directory'=>'string'], 'disk_total_space' => ['float|false', 'directory'=>'string'], 'diskfreespace' => ['float|false', 'directory'=>'string'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index e0d17e994..031e013ef 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -9995,7 +9995,7 @@ return [ 'dio_truncate' => ['bool', 'fd'=>'resource', 'offset'=>'int'], 'dio_write' => ['int', 'fd'=>'resource', 'data'=>'string', 'length='=>'int'], 'dir' => ['Directory|false', 'directory'=>'string', 'context='=>'resource'], - 'dirname' => ['string', 'path'=>'string', 'levels='=>'int'], + 'dirname' => ['string', 'path'=>'string', 'levels='=>'int<1, max>'], 'disk_free_space' => ['float|false', 'directory'=>'string'], 'disk_total_space' => ['float|false', 'directory'=>'string'], 'diskfreespace' => ['float|false', 'directory'=>'string'],