@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * Displays the avatar of a given user. |
68 | 68 | * |
69 | - * @param int|string $uid The user's id or name |
|
69 | + * @param integer $uid The user's id or name |
|
70 | 70 | * @param array $parameters Any additional arguments (e.g. width, height, size, rating) |
71 | 71 | * |
72 | 72 | * @return string |
@@ -115,6 +115,9 @@ |
||
115 | 115 | $this->_em->flush(); |
116 | 116 | } |
117 | 117 | |
118 | + /** |
|
119 | + * @param ThemeEntity $entity |
|
120 | + */ |
|
118 | 121 | public function persistAndFlush($entity) |
119 | 122 | { |
120 | 123 | $this->_em->persist($entity); |
@@ -91,7 +91,7 @@ |
||
91 | 91 | $result = $query->getResult(); |
92 | 92 | $themesArray = []; |
93 | 93 | foreach ($result as $theme) { |
94 | - $themesArray[$theme->getName()]= $theme->toArray(); |
|
94 | + $themesArray[$theme->getName()] = $theme->toArray(); |
|
95 | 95 | $kernel = $this->getKernel(); // allow to throw exception outside the try/catch block |
96 | 96 | try { |
97 | 97 | $themeBundle = $kernel->getTheme($theme['name']); |