CoreFiles by mySites.guru
NoDiscard.php23 lines, 535 bytes, from Joomla_6.1.3-Stable-Full_Package.zip
Raw History Compare with 6.1.2
md5
e1cb6ad731cd74ff5ae774b70ee0b567
sha1
82efed00d9e63aeb442118c2e2b9fe9e252f3619
sha256
80bef461eda96cf4f3ccab6af66d8054fd6f10f57192ee25be92445aa7d25aa4
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

if (\PHP_VERSION_ID < 80500) {
    #[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_FUNCTION)]
    final class NoDiscard
    {
        public ?string $message;

        public function __construct(?string $message = null)
        {
            $this->message = $message;
        }
    }
}

The same content is in 32 releases, Joomla 6.1.0-alpha2 to 6.3.0-alpha1. See them all, or every version of this file.