Skip to content

Commit

Permalink
Correct wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark authored and ADmad committed Sep 7, 2014
1 parent 203de9f commit 59c168a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Routing/RouteBuilder.php
Expand Up @@ -219,7 +219,7 @@ public function params() {
* - 'actions' - Override the method names used for connecting actions.
*
* @param string $name A controller name to connect resource routes for.
* @param array|callable $options Options to use when generating REST routes
* @param array|callable $options Options to use when generating REST routes, or a callback.
* @param callable $callback An optional callback to be executed in a nested scope. Nested
* scopes inherit the existing path and 'id' parameter.
* @return array Array of mapped resources
Expand Down Expand Up @@ -514,8 +514,8 @@ public function plugin($name, $options = [], $callback = null) {
* to the supplied parameters.
*
* @param string $path The path to create a scope for.
* @param array|callable $params Either the parameters to add to routes, or a callback
* @param callable $callback The callback to invoke that builds the plugin routes
* @param array|callable $params Either the parameters to add to routes, or a callback.
* @param callable $callback The callback to invoke that builds the plugin routes.
* Only required when $params is defined.
* @return void
* @throws \InvalidArgumentException when there is no callable parameter.
Expand Down

0 comments on commit 59c168a

Please sign in to comment.