Browse Source

Fix lint errors + comment content.

mark_story 13 years ago
parent
commit
62dd39133b
1 changed files with 4 additions and 3 deletions
  1. 4 3
      lib/Cake/Console/Command/Task/TestTask.php

+ 4 - 3
lib/Cake/Console/Command/Task/TestTask.php

@@ -331,13 +331,14 @@ class TestTask extends BakeTask {
 /**
  * Get the base class and package name for a given type.
  *
- * @param string $package The package the class having a test
- *   generated for is in.
+ * @param string $type The type of class having a test
+ *   generated is in.
  * @return array Array of class, type)
+ * @throws CakeException on invalid types.
  */
 	public function getBaseType($type) {
 		if (empty($this->baseTypes[$type])) {
-			throw new CakeException(__d('cake_dev', 'Invalid package name'));
+			throw new CakeException(__d('cake_dev', 'Invalid type name'));
 		}
 		return $this->baseTypes[$type];
 	}