Ran code through php-cs-fixer

Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely POLONKAI (W00d5t0ck)
2012-09-01 14:57:41 +02:00
parent d9fe0d8bcf
commit ee187ee044
16 changed files with 46 additions and 20 deletions

View File

@@ -26,7 +26,7 @@ class NewsController extends Controller
$newsRepo = $this->getDoctrine()->getRepository('KekRozsakFrontBundle:News');
$searchCriteria = array(
'draft' => false,
);
);
if (
!is_object($this->get('security.context')->getToken())
|| !is_object($this->get('security.context')->getToken()->getUser())