@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | * Returns a value indicating whether there is any handler attached to the specified class-level event. |
146 | 146 | * Note that this method will also check all parent classes to see if there is any handler attached |
147 | 147 | * to the named event. |
148 | - * @param string|object $class the object or the fully qualified class name specifying the class-level event. |
|
148 | + * @param Component $class the object or the fully qualified class name specifying the class-level event. |
|
149 | 149 | * @param string $name the event name. |
150 | 150 | * @return boolean whether there is any handler attached to the event. |
151 | 151 | */ |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | * Triggers a class-level event. |
180 | 180 | * This method will cause invocation of event handlers that are attached to the named event |
181 | 181 | * for the specified class and all its parent classes. |
182 | - * @param string|object $class the object or the fully qualified class name specifying the class-level event. |
|
182 | + * @param Component $class the object or the fully qualified class name specifying the class-level event. |
|
183 | 183 | * @param string $name the event name. |
184 | 184 | * @param Event $event the event parameter. If not set, a default [[Event]] object will be created. |
185 | 185 | */ |
@@ -73,7 +73,7 @@ |
||
73 | 73 | |
74 | 74 | /** |
75 | 75 | * Returns the names of all columns in this table. |
76 | - * @return array list of column names |
|
76 | + * @return integer[] list of column names |
|
77 | 77 | */ |
78 | 78 | public function getColumnNames() |
79 | 79 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * Removes a cookie. |
133 | 133 | * If `$removeFromBrowser` is true, the cookie will be removed from the browser. |
134 | 134 | * In this case, a cookie with outdated expiry will be added to the collection. |
135 | - * @param Cookie|string $cookie the cookie object or the name of the cookie to be removed. |
|
135 | + * @param string $cookie the cookie object or the name of the cookie to be removed. |
|
136 | 136 | * @param boolean $removeFromBrowser whether to remove the cookie from browser |
137 | 137 | * @throws InvalidCallException if the cookie collection is read only |
138 | 138 | */ |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | |
172 | 172 | /** |
173 | 173 | * Returns the collection as a PHP array. |
174 | - * @return array the array representation of the collection. |
|
174 | + * @return Cookie[] the array representation of the collection. |
|
175 | 175 | * The array keys are cookie names, and the array values are the corresponding cookie objects. |
176 | 176 | */ |
177 | 177 | public function toArray() |