reverted: --- b/core/lib/Drupal/Component/Assertion/Inspector.php +++ a/core/lib/Drupal/Component/Assertion/Inspector.php @@ -205,7 +205,7 @@ * @return bool * TRUE if $traversable can be traversed and all members have all keys. */ + public static function assertAllHaveKey() { - public static function assertAllHaveKey($traversable) { $args = func_get_args(); $traversable = array_shift($args); @@ -396,7 +396,7 @@ * TRUE if $traversable can be traversed and all members are objects with * at least one of the listed classes or interfaces. */ + public static function assertAllObjects() { - public static function assertAllObjects($traversable) { $args = func_get_args(); $traversable = array_shift($args); reverted: --- b/core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php +++ a/core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php @@ -41,7 +41,7 @@ /** * Constructs a MimeTypeGuesser object. * + * @param StreamWrapperManagerInterface $streamWrapperManager - * @param StreamWrapperManagerInterface $stream_wrapper_manager * The stream wrapper manager. */ public function __construct(StreamWrapperManagerInterface $stream_wrapper_manager) { reverted: --- b/core/lib/Drupal/Core/Utility/Token.php +++ a/core/lib/Drupal/Core/Utility/Token.php @@ -155,7 +155,7 @@ * array of token replacements after they are generated. * - clear: A boolean flag indicating that tokens should be removed from the * final text if no replacement value can be generated. + * @param \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata|null - * @param \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata * (optional) An object to which static::generate() and the hooks and * functions that it invokes will add their required bubbleable metadata. * reverted: --- b/core/modules/editor/editor.api.php +++ a/core/modules/editor/editor.api.php @@ -51,7 +51,7 @@ * @param \Drupal\filter\FilterFormatInterface $format * The text format configuration entity. Provides context based upon which * one may want to adjust the filtering. + * @param \Drupal\filter\FilterFormatInterface $original_format|null - * @param \Drupal\filter\FilterFormatInterface $original_format * (optional) The original text format configuration entity (when switching * text formats/editors). Also provides context based upon which one may want * to adjust the filtering. reverted: --- b/core/modules/editor/editor.module +++ a/core/modules/editor/editor.module @@ -261,7 +261,7 @@ * @param \Drupal\filter\FilterFormatInterface|null $format * The text format whose text editor will be used or NULL if the previously * defined text format is now disabled. + * @param \Drupal\filter\FilterFormatInterface $original_format|null - * @param \Drupal\filter\FilterFormatInterface $original_format * (optional) The original text format (i.e. when switching text formats, * $format is the text format that is going to be used, $original_format is * the one that was being used initially, the one that is stored in the