1
0
mirror of https://github.com/flarum/core.git synced 2025-07-26 03:01:22 +02:00

Pushing latest stuff

This commit is contained in:
Matthew Kilgore
2021-12-28 20:45:22 -05:00
parent 05aa62f70c
commit 853926ce0b
80 changed files with 7103 additions and 16105 deletions

View File

@@ -0,0 +1,43 @@
<?php
declare(strict_types=1);
namespace Flarum\PHPStan\Reflection;
use PHPStan\Reflection\ParameterReflection;
use PHPStan\Reflection\PassedByReference;
use PHPStan\Type\MixedType;
use PHPStan\Type\Type;
class DynamicWhereParameterReflection implements ParameterReflection
{
public function getName(): string
{
return 'dynamic-where-parameter';
}
public function isOptional(): bool
{
return true;
}
public function getType(): Type
{
return new MixedType();
}
public function passedByReference(): PassedByReference
{
return PassedByReference::createNo();
}
public function isVariadic(): bool
{
return false;
}
public function getDefaultValue(): ?Type
{
return null;
}
}