Skip to content

Commit 774c8b3

Browse files
committed
Fix param type
1 parent 2380cb4 commit 774c8b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/MetaLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,12 +374,12 @@ public function dumpMetadataStdOut()
374374
* This function will return without making any changes if $metadata is NULL.
375375
*
376376
* @param string $filename The filename the metadata comes from.
377-
* @param array $metadata The metadata.
377+
* @param array|null $metadata The metadata.
378378
* @param string $type The metadata type.
379379
* @param array|null $template The template.
380380
* @return void
381381
*/
382-
private function addMetadata($filename, array $metadata, $type, array $template = null)
382+
private function addMetadata($filename, $metadata, $type, array $template = null)
383383
{
384384
if ($metadata === null) {
385385
return;

0 commit comments

Comments
 (0)