@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | * Returns the value of an original property by name |
303 | 303 | * |
304 | 304 | * @param string $property the name of the property for which original value is retrieved. |
305 | - * @return mixed |
|
305 | + * @return string |
|
306 | 306 | * @throws \InvalidArgumentException if an empty property name is passed. |
307 | 307 | */ |
308 | 308 | public function getOriginal($property) |
@@ -526,7 +526,7 @@ discard block |
||
526 | 526 | /** |
527 | 527 | * Sets the virtual properties on this entity. |
528 | 528 | * |
529 | - * @param array $properties An array of properties to treat as virtual. |
|
529 | + * @param string[] $properties An array of properties to treat as virtual. |
|
530 | 530 | * @param bool $merge Merge the new properties with the existing. By default false. |
531 | 531 | * @return $this |
532 | 532 | */ |
@@ -780,7 +780,7 @@ discard block |
||
780 | 780 | /** |
781 | 781 | * Create a route object, or return the provided object. |
782 | 782 | * |
783 | - * @param string|\Cake\Routing\Route\Route $route The route template or route object. |
|
783 | + * @param string $route The route template or route object. |
|
784 | 784 | * @param array $defaults Default parameters. |
785 | 785 | * @param array $options Additional options parameters. |
786 | 786 | * @return \Cake\Routing\Route\Route |
@@ -1048,6 +1048,7 @@ discard block |
||
1048 | 1048 | * Requires middleware to be registered via `registerMiddleware()` |
1049 | 1049 | * |
1050 | 1050 | * @param string ...$names The names of the middleware to apply to the current scope. |
1051 | + * @param string[] $names |
|
1051 | 1052 | * @return $this |
1052 | 1053 | * @throws \RuntimeException |
1053 | 1054 | * @see \Cake\Routing\RouteCollection::addMiddlewareToScope() |