mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 08:50:50 +00:00
b3b001a445
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
24 lines
363 B
PHP
24 lines
363 B
PHP
<?php
|
|
|
|
namespace Rector\Tests\Php74\Rector\Property\TypedPropertyRector\Fixture;
|
|
|
|
trait JsonBodyTrait
|
|
{
|
|
private $body;
|
|
|
|
public function setJsonBody( array $body ): self {
|
|
$this->body = $body;
|
|
return $this;
|
|
}
|
|
|
|
public function getJsonBody(): ?array {
|
|
return $this->body;
|
|
}
|
|
}
|
|
|
|
class UsingTraig
|
|
{
|
|
use JsonBodyTrait;
|
|
}
|
|
|