Skip to content

Commit 12d26d5

Browse files
committed
Fix: PHP Deprecated: Implicitly marking parameter $args as nullable is deprecated.
1 parent b1db15e commit 12d26d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Edd/PluginUpdater.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ protected function checkUpdate(mixed $value): array|\stdClass
114114
* @param object|null $args
115115
* @return mixed
116116
*/
117-
protected function pluginsApiFilter(mixed $result, string $action = '', object $args = null): mixed
117+
protected function pluginsApiFilter(mixed $result, string $action = '', ?object $args = null): mixed
118118
{
119119
if ('plugin_information' !== $action) {
120120
return $result;

0 commit comments

Comments
 (0)