Browse Source

Doc block corrections.

euromark 11 years ago
parent
commit
313601ca02
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/ORM/EagerLoader.php
  2. 1 1
      src/Routing/Route/Route.php

+ 1 - 1
src/ORM/EagerLoader.php

@@ -97,7 +97,7 @@ class EagerLoader {
  * @param array|string $associations list of table aliases to be queried.
  * When this method is called multiple times it will merge previous list with
  * the new one.
- * @return array|void
+ * @return array Containments.
  */
 	public function contain($associations = []) {
 		if (empty($associations)) {

+ 1 - 1
src/Routing/Route/Route.php

@@ -250,7 +250,7 @@ class Route {
  * false will be returned. String URLs are parsed if they match a routes regular expression.
  *
  * @param string $url The URL to attempt to parse.
- * @return mixed Boolean false on failure, otherwise an array or parameters
+ * @return array|false Boolean false on failure, otherwise an array of parameters.
  */
 	public function parse($url) {
 		$request = Router::getRequest(true) ?: Request::createFromGlobals();