for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace BEAR\Sunday\Provide\Transfer;
use BEAR\Resource\ResourceObject;
final class Output extends ResourceObject
{
/** @param array<string, string> $headers */
public function __construct(int $code, array $headers, string $view)
$this->code = $code;
$this->headers = $headers;
$headers
array<string,string>
BEAR\Resource\Headers
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..
$this->view = $view;
$this->body = [];
}
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..