8000 fix typo and coding standard error · ghostika/symfony@fe825f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit fe825f3

Browse files
author
Andras Ratz
committed
fix typo and coding standard error
1 parent 1ddfd1b commit fe825f3

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/Symfony/Component/Routing/Loader/AnnotationClassLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function load($class, $type = null)
144144
return $collection;
145145
}
146146

147-
public function adddPriorityRoutes()
147+
public function addPriorityRoutes()
148148
{
149149
krsort($this->routesWithPriority);
150150
$collection = new RouteCollection();

src/Symfony/Component/Routing/Loader/AnnotationDirectoryLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function load($path, $type = null)
5959
}
6060

6161
if ($this->loader->hasRoutesWithPriority()) {
62-
$collection->addCollection($this->loader->adddPriorityRoutes());
62+
$collection->addCollection($this->loader->addPriorityRoutes());
6363
}
6464

6565
return $collection;

src/Symfony/Component/Routing/Loader/AnnotationFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function load($file, $type = null)
6666
}
6767

6868
if ($this->loader->hasRoutesWithPriority()) {
69-
$collection->addCollection($this->loader->adddPriorityRoutes());
69+
$collection->addCollection($this->loader->addPriorityRoutes());
7070
}
7171

7272
return $collection;

src/Symfony/Component/Routing/Tests/Loader/AnnotationDirectoryLoaderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\Config\FileLocator;
1616
use Symfony\Component\Routing\Annotation\Route;
1717

18-
1918
class AnnotationDirectoryLoaderTest extends AbstractAnnotationLoaderTest
2019
{
2120
protected $loader;

0 commit comments

Comments
 (0)
0