Fixed some inspection issues.

This commit is contained in:
Jan Böhmer 2020-08-21 22:43:37 +02:00
parent 6caf605fe2
commit e01b06fb85
80 changed files with 173 additions and 218 deletions

View file

@ -78,7 +78,7 @@ class IconLinkColumn extends AbstractColumn
return $provider;
}
if (is_callable($provider)) {
return call_user_func($provider, $value, $context);
return $provider($value, $context);
}
return false;
@ -91,7 +91,7 @@ class IconLinkColumn extends AbstractColumn
return $provider;
}
if (is_callable($provider)) {
return call_user_func($provider, $value, $context);
return $provider($value, $context);
}
return null;
@ -104,7 +104,7 @@ class IconLinkColumn extends AbstractColumn
return $provider;
}
if (is_callable($provider)) {
return call_user_func($provider, $value, $context);
return $provider($value, $context);
}
return null;
@ -117,7 +117,7 @@ class IconLinkColumn extends AbstractColumn
return $provider;
}
if (is_callable($provider)) {
return call_user_func($provider, $value, $context);
return $provider($value, $context);
}
return null;