CON-1523 fix php warning