Skip to content
Snippets Groups Projects
Verified Commit fa418559 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3463440 by mstrelan, smustgrave, quietone, longwave: Fix param docs identified by phpstan

parent 19b213db
No related branches found
No related tags found
20 merge requests!11131[10.4.x-only-DO-NOT-MERGE]: Issue ##2842525 Ajax attached to Views exposed filter form does not trigger callbacks,!9470[10.3.x-only-DO-NOT-MERGE]: #3331771 Fix file_get_contents(): Passing null to parameter,!8736Update the Documention As per the Function uses.,!8513Issue #3453786: DefaultSelection should document why values for target_bundles NULL and [] behave as they do,!3878Removed unused condition head title for views,!3818Issue #2140179: $entity->original gets stale between updates,!3742Issue #3328429: Create item list field formatter for displaying ordered and unordered lists,!3731Claro: role=button on status report items,!3154Fixes #2987987 - CSRF token validation broken on routes with optional parameters.,!3133core/modules/system/css/components/hidden.module.css,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!2812Issue #3312049: [Followup] Fix Drupal.Commenting.FunctionComment.MissingReturnType returns for NULL,!2378Issue #2875033: Optimize joins and table selection in SQL entity query implementation,!2062Issue #3246454: Add weekly granularity to views date sort,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!877Issue #2708101: Default value for link text is not saved,!617Issue #3043725: Provide a Entity Handler for user cancelation,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493
Pipeline #261691 passed with warnings
Pipeline: drupal

#261696

    Showing
    with 18 additions and 16 deletions
    ......@@ -196,7 +196,7 @@ protected function getVendorPath() {
    /**
    * Gets a consolidated list of file mappings from all allowed packages.
    *
    * @param \Composer\Package\Package[] $allowed_packages
    * @param \Composer\Package\PackageInterface[] $allowed_packages
    * A multidimensional array of file mappings, as returned by
    * self::getAllowedPackages().
    *
    ......
    ......@@ -331,7 +331,7 @@ public function cleanPackage(PackageInterface $package): void {
    *
    * @param \Composer\Package\PackageInterface $package
    * The package to clean.
    * @param string $paths_for_package
    * @param string[] $paths_for_package
    * List of directories in $package_name to remove
    */
    protected function cleanPathsForPackage(PackageInterface $package, $paths_for_package): void {
    ......
    ......@@ -353,7 +353,7 @@ protected function dumpCallable($callable) {
    /**
    * Gets a private service definition in a suitable format.
    *
    * @param string $id
    * @param string|null $id
    * The ID of the service to get a private definition for.
    * @param \Symfony\Component\DependencyInjection\Definition $definition
    * The definition to process.
    ......
    ......@@ -39,7 +39,7 @@ class PoHeader {
    /**
    * Author(s) of the file.
    *
    * @var string
    * @var string[]
    */
    protected $authors;
    ......
    ......@@ -105,7 +105,8 @@ public function setContext($context) {
    /**
    * Gets the source string(s) if the translation has plurals.
    *
    * @return string or array $translation
    * @return string|array
    * The source string or array of strings if it has plurals.
    */
    public function getSource() {
    return $this->source;
    ......@@ -124,7 +125,8 @@ public function setSource($source) {
    /**
    * Gets the translation string(s) if the translation has plurals.
    *
    * @return string or array $translation
    * @return string|array
    * The translation string or array of strings if it has plurals.
    */
    public function getTranslation() {
    return $this->translation;
    ......
    ......@@ -24,7 +24,7 @@ class InsertCommand implements CommandInterface, CommandWithAttachedAssetsInterf
    * If the command is a response to a request from an #ajax form element then
    * this value can be NULL.
    *
    * @var string
    * @var string|null
    */
    protected $selector;
    ......@@ -47,7 +47,7 @@ class InsertCommand implements CommandInterface, CommandWithAttachedAssetsInterf
    /**
    * Constructs an InsertCommand object.
    *
    * @param string $selector
    * @param string|null $selector
    * A CSS selector.
    * @param string|array $content
    * The content that will be inserted in the matched element(s), either a
    ......
    ......@@ -25,8 +25,8 @@ class Block extends Plugin {
    * the plugin. The array is keyed by context names.
    * @param class-string|null $deriver
    * (optional) The deriver class.
    * @param string[] $forms
    * (optional) An array of form class names keyed by a string.
    * @param array<string, string|false> $forms
    * (optional) An array of form class names or FALSE, keyed by a string.
    */
    public function __construct(
    public readonly string $id,
    ......
    ......@@ -40,7 +40,7 @@ public function installDefaultConfig($type, $name);
    * - it's a configuration entity.
    * - its dependencies can be met.
    *
    * @param \Drupal\Core\Config\StorageInterface $storage
    * @param \Drupal\Core\Config\StorageInterface|null $storage
    * (optional) The configuration storage to search for optional
    * configuration. If not provided, all enabled extension's optional
    * configuration directories including the install profile's will be
    ......
    ......@@ -616,7 +616,7 @@ function ($definition) {
    /**
    * Updates the kernel module list.
    *
    * @param string[] $module_filenames
    * @param \Drupal\Core\Extension\Extension[] $module_filenames
    * The list of installed modules.
    */
    protected function updateKernel($module_filenames) {
    ......
    ......@@ -198,7 +198,7 @@ protected function writeSettings(array $settings) {
    *
    * @param string $name
    * The name of the parameter.
    * @param string $value
    * @param string|array|bool $value
    * The value of the parameter.
    */
    protected function setContainerParameter($name, $value) {
    ......
    ......@@ -407,7 +407,7 @@ protected function assertResourceResponse($expected_status_code, $expected_body,
    *
    * @param int $expected_status_code
    * The expected response status.
    * @param string $expected_message
    * @param string|false $expected_message
    * The expected error message.
    * @param \Psr\Http\Message\ResponseInterface $response
    * The error response to assert.
    ......
    ......@@ -197,8 +197,8 @@ public function testAssembleWithStartingSlashEnabledProcessing(): void {
    /**
    * Setups the request stack for a given subdir.
    *
    * @param string $subdir
    * The wanted subdir.
    * @param bool $subdir
    * TRUE to use a subdir.
    */
    protected function setupRequestStack($subdir) {
    $server = [];
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment