Reformatted code using PhpStorm's built-in WordPress code standards with tabsize = 2.