@@ -189,7 +189,7 @@ |
||
189 | 189 | * @param string $user Username |
190 | 190 | * @param string $pass Cleartext Password |
191 | 191 | * @param bool $sticky Cookie should not expire |
192 | - * @return bool true on successful auth |
|
192 | + * @return boolean|null true on successful auth |
|
193 | 193 | */ |
194 | 194 | public function trustExternal($user, $pass, $sticky = false) |
195 | 195 | { |
@@ -85,6 +85,7 @@ |
||
85 | 85 | |
86 | 86 | /** |
87 | 87 | * @see PluginInterface::getLang() |
88 | + * @param string $id |
|
88 | 89 | */ |
89 | 90 | public function getLang($id) |
90 | 91 | { |
@@ -55,6 +55,9 @@ |
||
55 | 55 | return $this->_event; |
56 | 56 | } |
57 | 57 | |
58 | + /** |
|
59 | + * @param string $event |
|
60 | + */ |
|
58 | 61 | public function setEvent($event) |
59 | 62 | { |
60 | 63 | $this->_event = $event; |
@@ -80,7 +80,6 @@ discard block |
||
80 | 80 | /** |
81 | 81 | * advise all registered AFTER handlers of this event |
82 | 82 | * |
83 | - * @param bool $enablePreventDefault |
|
84 | 83 | * @see advise_before() for details |
85 | 84 | */ |
86 | 85 | public function advise_after() |
@@ -190,7 +189,7 @@ discard block |
||
190 | 189 | * @param callable $action (optional, default=NULL) default action, a php callback function |
191 | 190 | * @param bool $canPreventDefault (optional, default=true) can hooks prevent the default action |
192 | 191 | * |
193 | - * @return mixed the event results value after all event processing is complete |
|
192 | + * @return boolean the event results value after all event processing is complete |
|
194 | 193 | * by default this is the return value of the default action however |
195 | 194 | * it can be set or modified by event handler hooks |
196 | 195 | */ |