- $merger->addMetadata( array( 'foo' => 'xmp' ), 'xmp-general' );
- $merger->addMetadata( array( 'bar' => 'xmp' ), 'xmp-general' );
- $merger->addMetadata( array( 'baz' => 'xmp' ), 'xmp-general' );
- $merger->addMetadata( array( 'fred' => 'xmp' ), 'xmp-general' );
- $merger->addMetadata( array( 'foo' => 'iptc (hash)' ), 'iptc-good-hash' );
- $merger->addMetadata( array( 'bar' => 'iptc (bad hash)' ), 'iptc-bad-hash' );
- $merger->addMetadata( array( 'baz' => 'iptc (bad hash)' ), 'iptc-bad-hash' );
- $merger->addMetadata( array( 'fred' => 'iptc (no hash)' ), 'iptc-no-hash' );
- $merger->addMetadata( array( 'baz' => 'exif' ), 'exif' );
+ $merger->addMetadata( [ 'foo' => 'xmp' ], 'xmp-general' );
+ $merger->addMetadata( [ 'bar' => 'xmp' ], 'xmp-general' );
+ $merger->addMetadata( [ 'baz' => 'xmp' ], 'xmp-general' );
+ $merger->addMetadata( [ 'fred' => 'xmp' ], 'xmp-general' );
+ $merger->addMetadata( [ 'foo' => 'iptc (hash)' ], 'iptc-good-hash' );
+ $merger->addMetadata( [ 'bar' => 'iptc (bad hash)' ], 'iptc-bad-hash' );
+ $merger->addMetadata( [ 'baz' => 'iptc (bad hash)' ], 'iptc-bad-hash' );
+ $merger->addMetadata( [ 'fred' => 'iptc (no hash)' ], 'iptc-no-hash' );
+ $merger->addMetadata( [ 'baz' => 'exif' ], 'exif' );