@@ -58,11 +58,11 @@ public function setContentRepository(ContentRepositoryInterface $contentReposito
58
58
/**
59
59
* {@inheritdoc}
60
60
*
61
- * @param string $name ignored.
61
+ * @param string $name ignored
62
62
* @param array $parameters must either contain the field 'route' with a
63
63
* RouteObjectInterface or the field 'content_id'
64
64
* with the id of a document implementing
65
- * RouteReferrersReadInterface.
65
+ * RouteReferrersReadInterface
66
66
*
67
67
* @throws RouteNotFoundException If there is no such route in the database
68
68
*/
@@ -228,7 +228,7 @@ protected function getRouteByLocale($routes, $locale)
228
228
*
229
229
* @return bool true if there is either no $locale, no _locale requirement
230
230
* on the route or if the requirement and the passed $locale
231
- * match.
231
+ * match
232
232
*/
233
233
private function checkLocaleRequirement (SymfonyRoute $ route , $ locale )
234
234
{
@@ -245,7 +245,7 @@ private function checkLocaleRequirement(SymfonyRoute $route, $locale)
245
245
*
246
246
* @return string the locale following of the parameters or any other
247
247
* information the router has available. defaultLocale if no
248
- * other locale can be determined.
248
+ * other locale can be determined
249
249
*/
250
250
protected function getLocale ($ parameters )
251
251
{
@@ -300,9 +300,9 @@ public function getRouteDebugMessage($name, array $parameters = array())
300
300
* and it is the default locale, remove it from the parameters so that we
301
301
* do not get an unneeded ?_locale= query string.
302
302
*
303
- * @param SymfonyRoute $route The route being generated.
303
+ * @param SymfonyRoute $route The route being generated
304
304
* @param array $parameters The parameters used, will be modified to
305
- * remove the _locale field if needed.
305
+ * remove the _locale field if needed
306
306
*/
307
307
protected function unsetLocaleIfNotNeeded (SymfonyRoute $ route , array &$ parameters )
308
308
{
0 commit comments