Fixed bug #19956 : phpcs warns for Type Hint missing Resource