From 9d4a7db767ec4f0db68777d199255f1a906791b8 Mon Sep 17 00:00:00 2001 From: Siad Ardroumli Date: Mon, 4 May 2020 20:08:39 +0200 Subject: [PATCH] Fixed property visibility. As seen [here](https://github.com/researchgate/avro-php/blob/ff8841585ad76acbff5b673bafd5b70f35d311cb/lib/avro/data_file.php#L451) this property has to be public --- lib/avro/datum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/avro/datum.php b/lib/avro/datum.php index 5eee477..0362cb0 100644 --- a/lib/avro/datum.php +++ b/lib/avro/datum.php @@ -76,7 +76,7 @@ class AvroIODatumWriter * Schema used by this instance to write Avro data. * @var AvroSchema */ - private $writers_schema; + public $writers_schema; /** * @param AvroSchema $writers_schema