Skip to content

Commit

Permalink
Revert "merged branch francisbesset/routing_constant_usage (PR #6449)"
Browse files Browse the repository at this point in the history
This reverts commit c0e341c61829a9d270248fe8165409581bf6f5dd, reversing
changes made to 35f5bca5851289e265e15d362ae92f0b08826912.
  • Loading branch information
fabpot committed Dec 28, 2012
1 parent 2e6bc3c commit 87a6689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Loader/XmlFileLoader.php
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 87a6689

Please sign in to comment.