diff --git a/lib/Drupal/views/ViewStorageController.php b/lib/Drupal/views/ViewStorageController.php
index 9f5249615a181353144260cf532037c1fee9b47f..aaa813c5b9fac3d6d490ff2d61c32fd7027640ad 100644
--- a/lib/Drupal/views/ViewStorageController.php
+++ b/lib/Drupal/views/ViewStorageController.php
@@ -108,7 +108,7 @@ public function create(array $values) {
    *
    * @param Drupal\entity\StorableInterface $entity
    */
-  protected function attachDisplays(&$entity) {
+  protected function attachDisplays($entity) {
     if (isset($entity->display) && is_array($entity->display)) {
       $displays = array();
       foreach ($entity->get('display') as $key => $options) {