Skip to content
Browse files

Revert "merged branch francisbesset/routing_constant_usage (PR #6449)"

This reverts commit c0e341c61829a9d270248fe8165409581bf6f5dd, reversing
changes made to 35f5bca5851289e265e15d362ae92f0b08826912.
  • Loading branch information...
1 parent 2e6bc3c commit 87a66890450658ccac99702ac5e4f002ece9e23e @fabpot fabpot committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Loader/XmlFileLoader.php
View
4 Loader/XmlFileLoader.php
@@ -76,7 +76,7 @@ public function load($file, $type = null)
*/
protected function parseNode(RouteCollection $collection, \DOMElement $node, $path, $file)
{
- if (static::NAMESPACE_URI !== $node->namespaceURI) {
+ if (self::NAMESPACE_URI !== $node->namespaceURI) {
return;
}
@@ -192,7 +192,7 @@ private function parseConfigs(\DOMElement $node, $path)
$requirements = array();
$options = array();
- foreach ($node->getElementsByTagNameNS(static::NAMESPACE_URI, '*') as $n) {
+ foreach ($node->getElementsByTagNameNS(self::NAMESPACE_URI, '*') as $n) {
switch ($n->localName) {
case 'default':
$defaults[$n->getAttribute('key')] = trim($n->textContent);

0 comments on commit 87a6689

Please sign in to comment.
Something went wrong with that request. Please try again.