Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/vendor/wikimedia/assert/src/ParameterElementTypeException.php
Ðазад
<?php namespace Wikimedia\Assert; /** * Exception indicating that a parameter element type assertion failed. * This generally means a disagreement between the caller and the implementation of a function. * * @since 0.1.0 * * @license MIT * @author Daniel Kinzler * @copyright Wikimedia Deutschland e.V. */ class ParameterElementTypeException extends ParameterAssertionException { /** * @var string */ private $elementType; /** * @param string $parameterName * @param string $elementType * * @throws ParameterTypeException */ public function __construct( $parameterName, $elementType ) { if ( !is_string( $elementType ) ) { throw new ParameterTypeException( 'elementType', 'string' ); } parent::__construct( $parameterName, "all elements must be $elementType" ); $this->elementType = $elementType; } /** * @return string */ public function getElementType(): string { return $this->elementType; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка