Skip to content
This repository
Browse code

Fix lint errors + comment content.

  • Loading branch information...
commit 62dd39133b5c2fab30977f2e509e7bbfb7287984 1 parent d5333a2
Mark Story authored
7  lib/Cake/Console/Command/Task/TestTask.php
@@ -331,13 +331,14 @@ public function mapType($type, $plugin) {
331 331
 /**
332 332
  * Get the base class and package name for a given type.
333 333
  *
334  
- * @param string $package The package the class having a test
335  
- *   generated for is in.
  334
+ * @param string $type The type of class having a test
  335
+ *   generated is in.
336 336
  * @return array Array of class, type)
  337
+ * @throws CakeException on invalid types.
337 338
  */
338 339
 	public function getBaseType($type) {
339 340
 		if (empty($this->baseTypes[$type])) {
340  
-			throw new CakeException(__d('cake_dev', 'Invalid package name'));
  341
+			throw new CakeException(__d('cake_dev', 'Invalid type name'));
341 342
 		}
342 343
 		return $this->baseTypes[$type];
343 344
 	}

0 notes on commit 62dd391

Please sign in to comment.
Something went wrong with that request. Please try again.