| 1 | <?php | ||
| 10 | class SetAutoIncrement | ||
| 11 | { | ||
| 12 | /** @var string */ | ||
| 13 | public $action; | ||
| 14 | |||
| 15 | /** | ||
| 16 | * Create the event listener. | ||
| 17 | * | ||
| 18 | * @return void | ||
|  | |||
| 19 | */ | ||
| 20 | public function __construct() | ||
| 24 | |||
| 25 | /** | ||
| 26 | * Handle the event. | ||
| 27 | * | ||
| 28 | * @param MigrationsEnded $event | ||
| 29 | * @return void | ||
| 30 | */ | ||
| 31 | public function handle(MigrationsEnded $event) | ||
| 39 | } | ||
| 40 | 
Adding a
@returnannotation 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.