Permalink
Browse files

Fixed most of the docblocks/unused namespaces

  • Loading branch information...
1 parent c259a67 commit 048a81e2e0c594720fe12e0ac5be1348203032a6 @dlsniper dlsniper committed with fabpot Dec 16, 2012
View
@@ -31,6 +31,8 @@ class Route
* Constructor.
*
* @param array $data An array of key/value parameters.
+ *
+ * @throws \BadMethodCallException
*/
public function __construct(array $data)
{
@@ -32,6 +32,8 @@ class AnnotationFileLoader extends FileLoader
* @param FileLocatorInterface $locator A FileLocator instance
* @param AnnotationClassLoader $loader An AnnotationClassLoader instance
* @param string|array $paths A path or an array of paths where to look for resources
+ *
+ * @throws \RuntimeException
*/
public function __construct(FileLocatorInterface $locator, AnnotationClassLoader $loader, $paths = array())
{
@@ -49,6 +49,8 @@ public function setPrefix($prefix)
* @param DumperRoute $route The route
*
* @return DumperPrefixCollection The node the route was added to
+ *
+ * @throws \LogicException
*/
public function addPrefixRoute(DumperRoute $route)
{
@@ -188,6 +188,8 @@ private function compilePrefixRoutes(DumperPrefixCollection $collection, $suppor
* @param string|null $parentPrefix The prefix of the parent collection used to optimize the code
*
* @return string PHP code
+ *
+ * @throws \LogicException
*/
private function compileRoute(Route $route, $name, $supportsRedirections, $parentPrefix = null)
{

0 comments on commit 048a81e

Please sign in to comment.