Skip to content

Commit 029ae82

Browse files
committed
1 parent c9e9e7e commit 029ae82

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Doctrine/Orm/RouteProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function getCandidates($url)
6060
/**
6161
* {@inheritDoc}
6262
*/
63-
public function getRouteByName($name, $parameters = array())
63+
public function getRouteByName($name)
6464
{
6565
$route = $this->getRoutesRepository()->findOneBy(array('name' => $name));
6666
if (!$route) {
@@ -73,7 +73,7 @@ public function getRouteByName($name, $parameters = array())
7373
/**
7474
* {@inheritDoc}
7575
*/
76-
public function getRoutesByNames($names = null, $parameters = array())
76+
public function getRoutesByNames($names = null)
7777
{
7878
if (null === $names) {
7979
$names = array();

Doctrine/Phpcr/RouteProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ protected function getCandidates($url)
124124
/**
125125
* {@inheritDoc}
126126
*/
127-
public function getRouteByName($name, $parameters = array())
127+
public function getRouteByName($name)
128128
{
129129
// $name is the route document path
130130
if ('' === $this->idPrefix || 0 === strpos($name, $this->idPrefix)) {
@@ -180,7 +180,7 @@ private function getRouteNames()
180180
/**
181181
* {@inheritDoc}
182182
*/
183-
public function getRoutesByNames($names = null, $parameters = array())
183+
public function getRoutesByNames($names = null)
184184
{
185185
if (null === $names) {
186186
$names = $this->getRouteNames();

0 commit comments

Comments
 (0)