Static analysis fixes.
This commit is contained in:
parent
b9e821debd
commit
e1f976be96
|
@ -22,7 +22,6 @@ parameters:
|
|||
|
||||
# Supervisor functions that do exist but aren't annotated properly in the connector lib.
|
||||
- '#Call to an undefined method Supervisor\\Supervisor::reloadConfig().#'
|
||||
- '#Call to an undefined method Supervisor\\Supervisor::signalProcess().#'
|
||||
|
||||
dynamicConstantNames:
|
||||
- APP_IS_COMMAND_LINE
|
||||
|
|
|
@ -95,7 +95,7 @@ class RolesController extends AbstractGenericCrudController
|
|||
* @inheritdoc
|
||||
*/
|
||||
|
||||
protected function _denormalizeToRecord($data, $record, array $context = []): object
|
||||
protected function _denormalizeToRecord($data, $record = null, array $context = []): object
|
||||
{
|
||||
return parent::_denormalizeToRecord($data, $record, array_merge($context, [
|
||||
AbstractNormalizer::CALLBACKS => [
|
||||
|
|
Loading…
Reference in New Issue