From d571f0b5f1b385b7d751afd15c0f27de9c99d4fa Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 18 Jan 2023 18:29:57 +0100 Subject: [PATCH] Revert "Add array for warnings" This reverts commit 7cbb769fddabf27853c69a978c787625458209a3. --- .../publications/src/Actions/ValidatesPublicationSchema.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/publications/src/Actions/ValidatesPublicationSchema.php b/packages/publications/src/Actions/ValidatesPublicationSchema.php index 0e7ecd593de..689fb07d0fa 100644 --- a/packages/publications/src/Actions/ValidatesPublicationSchema.php +++ b/packages/publications/src/Actions/ValidatesPublicationSchema.php @@ -24,9 +24,6 @@ class ValidatesPublicationSchema extends InvokableAction /** @var \Illuminate\Support\Collection<\Illuminate\Contracts\Validation\Validator> */ protected Collection $fieldValidators; - /** @var array */ - protected array $warnings = []; - public function __construct(string $pubTypeName) { $this->schema = json_decode(Filesystem::getContents("$pubTypeName/schema.json"));