Matching code style of PHPPowerPoint for if's and foreaches.