Cannot use the abstract modifier on a property hook¶
Description¶
It is not possible to make individual property hooks abstract. The keyword must be set at the property definition level, for all the hooks.
Example¶
<?php
abstract class X {
public $property {
abstract get;
}
}
?>
Solutions¶
Remove the abstract keyword, and put it on the property definition level.