[TASK] Use short version ?: in ternary operator (PHP 5.3+)