Remove space from end of line

This commit is contained in:
Dennis Eichhorn 2018-02-03 11:52:30 +01:00
parent 56c7fce856
commit 7c66a15e63
2 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** @var Head $head */ /** @var Head $head */
$head = $response->get('Content')->getData('head'); $head = $response->get('Content')->getData('head');
$head->addAsset(AssetType::CSS, '/Modules/Calendar/Theme/Backend/css/styles.css'); $head->addAsset(AssetType::CSS, '/Modules/Calendar/Theme/Backend/css/styles.css');
$view->setTemplate('/Modules/Profile/Theme/Backend/profile-single'); $view->setTemplate('/Modules/Profile/Theme/Backend/profile-single');
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1000301001, $request, $response)); $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1000301001, $request, $response));

View File

@ -42,7 +42,7 @@ class Profile
private $calendar = null; private $calendar = null;
public function __construct() public function __construct()
{ {
$this->image = new NullMedia(); $this->image = new NullMedia();
$this->birthday = new \DateTime('now'); $this->birthday = new \DateTime('now');
@ -60,7 +60,7 @@ class Profile
return $this->location; return $this->location;
} }
public function addLocation(Location $location) public function addLocation(Location $location)
{ {
$this->location[] = $location; $this->location[] = $location;
} }