update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
10
vendor/nette/schema/src/Schema/Processor.php
vendored
10
vendor/nette/schema/src/Schema/Processor.php
vendored
@@ -1,12 +1,10 @@
|
||||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* This file is part of the Nette Framework (https://nette.org)
|
||||
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Nette\Schema;
|
||||
|
||||
use Nette;
|
||||
@@ -17,6 +15,7 @@
|
||||
*/
|
||||
final class Processor
|
||||
{
|
||||
/** @var list<\Closure(Context): void> */
|
||||
public array $onNewContext = [];
|
||||
private Context $context;
|
||||
private bool $skipDefaults = false;
|
||||
@@ -45,6 +44,7 @@ public function process(Schema $schema, mixed $data): mixed
|
||||
|
||||
/**
|
||||
* Normalizes and validates and merges multiple data. Result is a clean completed data.
|
||||
* @param list<mixed> $dataset
|
||||
* @throws ValidationException
|
||||
*/
|
||||
public function processMultiple(Schema $schema, array $dataset): mixed
|
||||
@@ -65,9 +65,7 @@ public function processMultiple(Schema $schema, array $dataset): mixed
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
/** @return list<string> */
|
||||
public function getWarnings(): array
|
||||
{
|
||||
$res = [];
|
||||
|
||||
Reference in New Issue
Block a user