Skip to content
Permalink
Browse files

Fix lint errors + comment content.

  • Loading branch information...
markstory committed Aug 20, 2012
1 parent d5333a2 commit 62dd39133b5c2fab30977f2e509e7bbfb7287984
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/Cake/Console/Command/Task/TestTask.php
@@ -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];
}

0 comments on commit 62dd391

Please sign in to comment.
You can’t perform that action at this time.