Skip to content
Snippets Groups Projects
Commit 2811bd01 authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Fix type -- allow nulls.

parent f3c769be
No related merge requests found
...@@ -77,7 +77,7 @@ class BrowZine implements DoiLinkerInterface, TranslatorAwareInterface ...@@ -77,7 +77,7 @@ class BrowZine implements DoiLinkerInterface, TranslatorAwareInterface
* *
* @return bool * @return bool
*/ */
protected function arrayKeyAvailable(string $key, array $data): bool protected function arrayKeyAvailable(string $key, ?array $data): bool
{ {
if (empty($data[$key])) { if (empty($data[$key])) {
return false; return false;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment