Skip to content
This repository was archived by the owner on Jan 5, 2018. It is now read-only.

Commit 3d2bb0d

Browse files
cs-shadowdavereid
authored andcommitted
Fix type hinting for array parameter
1 parent 9494e71 commit 3d2bb0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Twig/EntityEmbedTwigExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function getFunctions() {
6565
* @return array
6666
* A render array from entity_view().
6767
*/
68-
public function getRenderArray($entity_type, $entity_id, $display_plugin = 'default', $display_settings = []) {
68+
public function getRenderArray($entity_type, $entity_id, $display_plugin = 'default', array $display_settings = []) {
6969
$entity = $this->loadEntity($entity_type, $entity_id);
7070
$context = array(
7171
'data-entity-type' => $entity_type,

0 commit comments

Comments
 (0)