1 | <?php |
||
9 | class CaldavSyncOkListener |
||
10 | { |
||
11 | /** |
||
12 | * Create the event listener. |
||
13 | * |
||
14 | * @return void |
||
|
|||
15 | */ |
||
16 | public function __construct() |
||
20 | |||
21 | /** |
||
22 | * Handle the event. |
||
23 | * |
||
24 | * @param CaldavSyncOkEvent $event |
||
25 | * @return void |
||
26 | */ |
||
27 | public function handle(CaldavSyncOkEvent $event) |
||
33 | } |
||
34 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.