Skip to content
Permalink
Browse files

Small simplification

  • Loading branch information
flack committed Jan 9, 2020
1 parent 9452d0e commit 3432608c0a99dae1d6b590ed93833e0456908c2e
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/midcom/routing/resolver.php
@@ -78,10 +78,8 @@ public function process_midcom() : bool
} catch (ResourceNotFoundException $e) {
throw new midcom_error_notfound('This URL method is unknown.');
}
$this->request->attributes->add($result);

foreach ($result as $key => $value) {
$this->request->attributes->set($key, $value);
}
return true;
}
return false;

0 comments on commit 3432608

Please sign in to comment.
You can’t perform that action at this time.