Added null return option

This commit is contained in:
Matthew Barbour 2020-06-12 13:39:23 -05:00 committed by Shish
parent b937ad6255
commit 835c3b68a1

View File

@ -705,7 +705,7 @@ class Pools extends Extension
*
* #return int[] Array returning two elements (prev, next) in 1 dimension. Each returns ImageID or NULL if none.
*/
private function get_nav_posts(Pool $pool, int $imageID): array
private function get_nav_posts(Pool $pool, int $imageID): ?array
{
global $database;