Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 0e72e4e

Browse files
committed
Merge branch 'hotfix/103'
Close #103
2 parents 1094bda + fb78911 commit 0e72e4e

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ Additionally, it MAY need:
360360
- Options (any other options/metadata regarding the route to pass on to the
361361
router)
362362

363-
Finally, by having `route()` reurn the `Route` instance, the user can further
363+
Finally, by having `route()` return the `Route` instance, the user can further
364364
customize it. I would argue that *only* options be mutable, however, as the
365365
combination of path + HTTP method is what determines whether or not routes have
366366
conflicts.

doc/book/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ features it provides include:
4343
routing library that best fits the project needs. By default, we provide
4444
wrappers for Aura.Router, FastRoute, and the zend-mvc router.
4545

46-
- **contaienr-interop**
46+
- **container-interop**
4747

4848
Expressive encourages the use of Dependency Injection, and defines its
4949
`Application` class to compose a container-interop `ContainerInterface`

doc/book/router/interface.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ namespace Zend\Expressive\Router;
157157
class RouteResult
158158
{
159159
/**
160-
* Create an instance repesenting a route success.
160+
* Create an instance representing a route success.
161161
*
162162
* @param string $name Name of matched route.
163163
* @param callable|string $middleware Middleware associated with the
@@ -168,7 +168,7 @@ class RouteResult
168168
public static function fromRouteMatch($name, $middleware, array $params);
169169

170170
/**
171-
* Create an instance repesenting a route failure.
171+
* Create an instance representing a route failure.
172172
*
173173
* @param null|int|array $methods HTTP methods allowed for the current URI, if any
174174
* @return static
@@ -183,7 +183,7 @@ class RouteResult
183183
public function isSuccess();
184184

185185
/**
186-
* Retreive the matched route name, if possible.
186+
* Retrieve the matched route name, if possible.
187187
*
188188
* If this result represents a failure, return false; otherwise, return the
189189
* matched route name.
@@ -203,7 +203,7 @@ class RouteResult
203203
/**
204204
* Returns the matched params.
205205
*
206-
* Guaranted to return an array, even if it is simply empty.
206+
* Guaranteed to return an array, even if it is simply empty.
207207
*
208208
* @return array
209209
*/

src/Container/WhoopsFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* ]
3838
* </code>
3939
*
40-
* All values are booleans; ommision of any implies boolean false.
40+
* All values are booleans; omission of any implies boolean false.
4141
*/
4242
class WhoopsFactory
4343
{

src/Router/RouteResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static function fromRouteMatch($name, $middleware, array $params)
7676
}
7777

7878
/**
79-
* Create an instance repesenting a route failure.
79+
* Create an instance representing a route failure.
8080
*
8181
* @param null|int|array $methods HTTP methods allowed for the current URI, if any
8282
* @return static
@@ -108,7 +108,7 @@ public function isSuccess()
108108
}
109109

110110
/**
111-
* Retreive the matched route name, if possible.
111+
* Retrieve the matched route name, if possible.
112112
*
113113
* If this result represents a failure, return false; otherwise, return the
114114
* matched route name.

src/Router/Zf2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private function createRouter()
170170
}
171171

172172
/**
173-
* Create a succesful RouteResult from the given RouteMatch.
173+
* Create a successful RouteResult from the given RouteMatch.
174174
*
175175
* @param RouteMatch $match
176176
* @return RouteResult

src/TemplatedErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function __invoke(Request $request, Response $response, $err = null)
120120
* If a template renderer is present, passes the following to the template
121121
* specified in the $templateError property:
122122
*
123-
* - error (the error itsel)
123+
* - error (the error itself)
124124
* - uri
125125
* - status (response status)
126126
* - reason (reason associated with response status)

0 commit comments

Comments
 (0)