Browse Source

Fix doc blocks

Mark Scherer 11 years ago
parent
commit
3807a2b23d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/ORM/Table.php
  2. 1 1
      src/Routing/RouteBuilder.php

+ 1 - 1
src/ORM/Table.php

@@ -573,7 +573,7 @@ class Table implements RepositoryInterface, EventListenerInterface
      * Check if a behavior with the given alias has been loaded.
      *
      * @param string $name The behavior alias to check.
-     * @return array
+     * @return bool
      */
     public function hasBehavior($name)
     {

+ 1 - 1
src/Routing/RouteBuilder.php

@@ -559,7 +559,7 @@ class RouteBuilder
      *
      * This is a shortcut method for connecting fallback routes in a given scope.
      *
-     * @param string $routeClass the route class to use, uses the default routeClass
+     * @param string|null $routeClass the route class to use, uses the default routeClass
      *   if not specified
      * @return void
      */