Fixups
This commit is contained in:
parent
7061e16b27
commit
f273c27e3b
7 changed files with 99 additions and 10 deletions
26
tests/Util/EntityDouble.php
Normal file
26
tests/Util/EntityDouble.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Test\Util;
|
||||
|
||||
use Friendica\BaseEntity;
|
||||
|
||||
/**
|
||||
* @property-read string $protString
|
||||
* @property-read int $protInt
|
||||
* @property-read \DateTime $protDateTime
|
||||
*/
|
||||
class EntityDouble extends BaseEntity
|
||||
{
|
||||
protected $protString;
|
||||
protected $protInt;
|
||||
protected $protDateTime;
|
||||
private $privString;
|
||||
|
||||
public function __construct(string $protString, int $protInt, \DateTime $protDateTime, string $privString)
|
||||
{
|
||||
$this->protString = $protString;
|
||||
$this->protInt = $protInt;
|
||||
$this->protDateTime = $protDateTime;
|
||||
$this->privString = $privString;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue