* Fix #39247: Fix phan notices by reorganising code # Fix #39247: Fix phan notices by reorganising code Phan typing analysis was disturbed by conditional assignment to array fields of array items. This reorganises the the code and uses a foreach and a loop item by reference. The result array is filtered after the initial loop to find matching ECM items. Not that this does not fix an unreported issue when paging is applied for filtered items (paging is applied on the full list, not the filtered items and may result in small(er) or empty pages). * Qual: Fix Phan notices # Qual: Fix Phan notices - The page_count value was simply ceil(...) which is typed float, now casting to int. - Add missing properties share and agenda_id to EcmFilesLine |
||
|---|---|---|
| .. | ||
| api.class.php | ||
| api_access.class.php | ||
| api_documents.class.php | ||
| api_emailtemplates.class.php | ||
| api_login.class.php | ||
| api_objectlinks.class.php | ||
| api_setup.class.php | ||
| api_status.class.php | ||