Skip to content

Commit

Permalink
CS fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
dbellettini committed Feb 10, 2013
1 parent c3c58c3 commit 362ab7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Universibo/Bundle/LegacyBundle/Command/ShowPermalink.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public function execute()
$news = $newsRepo->find($id_notizia = $this->getRequest()->attributes->get('id_notizia'));

$isExpired = function(NewsItem $news) {
return $news->getDataScadenza() > 0 && $news->getDataScadenza() < time();
return $news->getDataScadenza() > 0 && $news->getDataScadenza() < time();
};

if (!$news instanceof NewsItem || $isExpired($news)) {
throw new NotFoundHttpException('News not found');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public function testSimple()
'UniversiBO cerca nuovi collaboratori'
));
}

/**
* @ticket 251
*/
Expand Down

0 comments on commit 362ab7d

Please sign in to comment.