Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

Commit 35565bb

Browse files
committed
Fix missing specifier in sprintf string
Fixes PHP 8.0 incompatibility
1 parent de79a3a commit 35565bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/avro/schema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ public function __construct($name, $doc, $symbols, &$schemata=null, $logical_typ
11611161
foreach ($symbols as $symbol)
11621162
if (!is_string($symbol) || empty($symbol))
11631163
throw new AvroSchemaParseException(
1164-
sprintf('Enum schema symbol must be a string %',
1164+
sprintf('Enum schema symbol must be a string %s',
11651165
print_r($symbol, true)));
11661166

11671167
parent::__construct(AvroSchema::ENUM_SCHEMA, $name, $doc, $schemata, $logical_type, $extra_attributes);

0 commit comments

Comments
 (0)