Skip to content
Permalink
Browse files

Correct wording.

  • Loading branch information...
dereuromark authored and ADmad committed Sep 5, 2014
1 parent 203de9f commit 59c168a8a8090d139ac00de2e97ecb484586c42f
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Routing/RouteBuilder.php
@@ -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
@@ -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.

0 comments on commit 59c168a

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