Skip to content

Commit 9b4a099

Browse files
committed
Use property instead of property-read
1 parent 06c3e22 commit 9b4a099

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stubs/Drupal/datetime_range/Plugin/Field/FieldType/DateRangeItem.stub

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ namespace Drupal\datetime_range\Plugin\Field\FieldType;
55
use Drupal\datetime\Plugin\Field\FieldType\DateTimeItem;
66

77
/**
8-
* @property-read null $date
8+
* @property null $date
99
* Even though this extends DateTimeItem, the date property does not actually
1010
* exist. It is not possible to undo a property definition.
11-
* @property-read ?\Drupal\Core\Datetime\DrupalDateTime $start_date
11+
* @property ?\Drupal\Core\Datetime\DrupalDateTime $start_date
1212
* @property ?string $end_value
13-
* @property-read ?\Drupal\Core\Datetime\DrupalDateTime $end_date
13+
* @property ?\Drupal\Core\Datetime\DrupalDateTime $end_date
1414
*/
1515
class DateRangeItem extends DateTimeItem {
1616

0 commit comments

Comments
 (0)