Skip to content

Commit b030a60

Browse files
committed
removed return type from __call() [Closes nette/utils#315]
1 parent 555cef4 commit b030a60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Forms/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ public function addContainer(string|int $name): self
573573
/********************* extension methods ****************d*g**/
574574

575575

576-
public function __call(string $name, array $args): mixed
576+
public function __call(string $name, array $args)
577577
{
578578
if (isset(self::$extMethods[$name])) {
579579
return (self::$extMethods[$name])($this, ...$args);

src/Forms/Controls/BaseControl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public function getOptions(): array
557557
/********************* extension methods ****************d*g**/
558558

559559

560-
public function __call(string $name, array $args): mixed
560+
public function __call(string $name, array $args)
561561
{
562562
$class = static::class;
563563
do {

0 commit comments

Comments
 (0)