Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / phpspec / prophecy / src / Prophecy / Doubler / Generator / ClassMirror.php
index 9f99239f698d7074c41c95c017c865e6ce231e72..c5f9a5c778bf110df1d139186c44515291b29f1e 100644 (file)
@@ -189,6 +189,8 @@ class ClassMirror
             $node->setAsPassedByReference();
         }
 
+        $node->setAsNullable($this->isNullable($parameter));
+
         $methodNode->addArgument($node);
     }