Added null return option
This commit is contained in:
parent
b937ad6255
commit
835c3b68a1
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user