Format code using php-cs-fixer

This commit is contained in:
jo 2021-10-11 16:10:47 +02:00
parent 43d7dc92cd
commit d52c6184b9
352 changed files with 17473 additions and 17041 deletions

View file

@ -1,21 +1,22 @@
<?php
class CeleryServiceFactory {
class CeleryServiceFactory
{
/**
* Given an identifying string, get a ThirdPartyCeleryService object of that type
* Given an identifying string, get a ThirdPartyCeleryService object of that type.
*
* @param $serviceName string the name of the service to create
*
* @return Application_Service_ThirdPartyCeleryService|null
* @return null|Application_Service_ThirdPartyCeleryService
*/
public static function getService($serviceName) {
switch($serviceName) {
public static function getService($serviceName)
{
switch ($serviceName) {
case PODCAST_SERVICE_NAME:
return new Application_Service_PodcastEpisodeService();
default:
return null;
}
}
}
}