Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix lint errors + comment content.

  • Loading branch information...
commit 62dd39133b5c2fab30977f2e509e7bbfb7287984 1 parent d5333a2
Mark Story markstory authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/Cake/Console/Command/Task/TestTask.php
7 lib/Cake/Console/Command/Task/TestTask.php
View
@@ -331,13 +331,14 @@ public function mapType($type, $plugin) {
/**
* 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];
}
Please sign in to comment.
Something went wrong with that request. Please try again.