Browse files

doc fix

  • Loading branch information...
mdomba committed Feb 2, 2013
1 parent 2057747 commit dd02b17e67988041cbd603dd9d4c2add7bf5436b
Showing with 2 additions and 2 deletions.
  1. +2 −2 framework/base/CComponent.php
@@ -318,8 +318,8 @@ public function detachBehaviors()
* @param string $name the behavior's name. It should uniquely identify this behavior.
* @param mixed $behavior the behavior configuration. This is passed as the first
* parameter to {@link YiiBase::createComponent} to create the behavior object.
- * You also can pass already created behavior instance (new behavior will replace already created
- * behavior with the same given name if it is exists).
+ * You can also pass an already created behavior instance (the new behavior will replace an already created
+ * behavior with the same name, if it exists).
* @return IBehavior the behavior object
public function attachBehavior($name,$behavior)

0 comments on commit dd02b17

Please sign in to comment.