for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DH\Auditor\Provider\Doctrine\Auditing\Annotation;
use Attribute;
use Doctrine\Common\Annotations\Annotation;
use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor;
use Doctrine\Common\Annotations\Annotation\Required;
/**
* @Annotation
* @NamedArgumentConstructor()
* @Target("CLASS")
* @Attributes({
* @Attribute("view", required=true, type="array<string>"),
* })
*/
#[Attribute(Attribute::TARGET_CLASS)]
final class Security
{
public const VIEW_SCOPE = 'view';
* @var string
* @Required
public $view;
public function __construct(array $view)
$this->view = $view;
$view
array
string
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..
}
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..