Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix docblox and typos #22

Merged
merged 3 commits into from

3 participants

@koriym
Collaborator

No description provided.

src/Aura/Router/Map.php
@@ -241,7 +241,6 @@ public function setRoutes(array $routes)
{
$this->routes = $routes;
$this->definitions = [];
- $this->attach_custom = [];
$this->attach_routes = [];
@harikt Collaborator
harikt added a note

Is that resetting attach_common

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@pmjones pmjones merged commit 44c7b38 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 27, 2013
  1. @koriym

    docblock fix

    koriym authored
  2. @koriym

    typo

    koriym authored
Commits on Jan 28, 2013
  1. @koriym

    Fix wrong property

    koriym authored
This page is out of date. Refresh to see the latest.
View
2  src/Aura/Router/Definition.php
@@ -15,7 +15,7 @@
* Represents a route definition, either a single route or a set of attached
* routes.
*
- * In general, you should never need to instantiate a Defintion directly. Use
+ * In general, you should never need to instantiate a Definition directly. Use
* the DefinitionFactory instead, or the Map.
*
* @package Aura.Router
View
4 src/Aura/Router/Map.php
@@ -201,7 +201,7 @@ public function match($path, array $server = null)
*
* @param string $name The route name to look up.
*
- * @param array $data The data to inpterolate into the URI; data keys
+ * @param array $data The data to interpolate into the URI; data keys
* map to param tokens in the path.
*
* @return string|false A URI path string if the route name is found, or
@@ -241,7 +241,7 @@ public function setRoutes(array $routes)
{
$this->routes = $routes;
$this->definitions = [];
- $this->attach_custom = [];
+ $this->attach_common = [];
$this->attach_routes = [];
}
View
2  src/Aura/Router/Route.php
@@ -156,7 +156,7 @@ class Route
*
* All param matches found in the path during the `isMatch()` process.
*
- * @var string
+ * @var array
*
* @see isMatch()
*
Something went wrong with that request. Please try again.